Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
bitsandbytes
Commits
bdf85b5e
Commit
bdf85b5e
authored
Jun 09, 2023
by
zhaoying1
Browse files
Update Makefile
parent
b182db9d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Makefile
Makefile
+2
-2
No files found.
Makefile
View file @
bdf85b5e
...
@@ -104,8 +104,8 @@ HIP_INCLUDE := -I $(ROOT_DIR)/csrc -I $(ROOT_DIR)/include
...
@@ -104,8 +104,8 @@ HIP_INCLUDE := -I $(ROOT_DIR)/csrc -I $(ROOT_DIR)/include
HIP_LIB
:=
-L
$(DTK_PATH)
/lib
-L
$(DTK_PATH)
/llvm/bin/../lib/clang/14.0.0/lib/linux
-L
/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
-L
/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64
-L
/lib/x86_64-linux-gnu
-L
/lib/../lib64
-L
/usr/lib/x86_64-linux-gnu
-L
/usr/lib/../lib64
-L
/lib
-L
/usr/lib
-lgcc_s
-lgcc
-lpthread
-lm
-lrt
-lamdhip64
-lhipblas
-lhipsparse
-lclang_rt
.builtins-x86_64
-lstdc
++
-lm
-lgcc_s
-lgcc
-lc
-lgcc_s
-lgcc
HIP_LIB
:=
-L
$(DTK_PATH)
/lib
-L
$(DTK_PATH)
/llvm/bin/../lib/clang/14.0.0/lib/linux
-L
/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
-L
/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64
-L
/lib/x86_64-linux-gnu
-L
/lib/../lib64
-L
/usr/lib/x86_64-linux-gnu
-L
/usr/lib/../lib64
-L
/lib
-L
/usr/lib
-lgcc_s
-lgcc
-lpthread
-lm
-lrt
-lamdhip64
-lhipblas
-lhipsparse
-lclang_rt
.builtins-x86_64
-lstdc
++
-lm
-lgcc_s
-lgcc
-lc
-lgcc_s
-lgcc
hip
:
$(BUILD_DIR)
hip
:
$(BUILD_DIR)
$(DTK_PATH)
/bin/hipcc
-std
=
c++14
-c
-fPIC
--amdgpu-target
=
gfx906
--gpu-max-threads-per-block
=
1024
--offload-arch
=
gfx906
$(HIP_INCLUDE)
-o
$(BUILD_DIR)
/ops.o
-D
NO_CUBLASLT
$(CSRC)
/ops.cu
$(DTK_PATH)
/bin/hipcc
-std
=
c++14
-c
-fPIC
--offload-arch
=
gfx906
$(HIP_INCLUDE)
-o
$(BUILD_DIR)
/ops.o
-D
NO_CUBLASLT
$(CSRC)
/ops.cu
$(DTK_PATH)
/bin/hipcc
-std
=
c++14
-c
-fPIC
--amdgpu-target
=
gfx906
--gpu-max-threads-per-block
=
1024
--offload-arch
=
gfx906
$(HIP_INCLUDE)
-o
$(BUILD_DIR)
/kernels.o
-D
NO_CUBLASLT
$(CSRC)
/kernels.cu
$(DTK_PATH)
/bin/hipcc
-std
=
c++14
-c
-fPIC
--offload-arch
=
gfx906
$(HIP_INCLUDE)
-o
$(BUILD_DIR)
/kernels.o
-D
NO_CUBLASLT
$(CSRC)
/kernels.cu
# /usr/bin/hipcc -fPIC -static
$(BUILD_DIR)
/ops.o
$(BUILD_DIR)
/kernels.o
-o
$(BUILD_DIR)
/link.so
# /usr/bin/hipcc -fPIC -static
$(BUILD_DIR)
/ops.o
$(BUILD_DIR)
/kernels.o
-o
$(BUILD_DIR)
/link.so
$(GPP)
-std
=
c++14
-D__HIP_PLATFORM_AMD__
-DBUILD_CUDA
-shared
-fPIC
-I
$(DTK_PATH)
/include
$(HIP_INCLUDE)
$(BUILD_DIR)
/ops.o
$(BUILD_DIR)
/kernels.o
$(FILES_CPP)
$(HIP_LIB)
-o
./bitsandbytes/libbitsandbytes_hip_nocublaslt.so
$(GPP)
-std
=
c++14
-D__HIP_PLATFORM_AMD__
-DBUILD_CUDA
-shared
-fPIC
-I
$(DTK_PATH)
/include
$(HIP_INCLUDE)
$(BUILD_DIR)
/ops.o
$(BUILD_DIR)
/kernels.o
$(FILES_CPP)
$(HIP_LIB)
-o
./bitsandbytes/libbitsandbytes_hip_nocublaslt.so
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment