We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 434f10a commit 45fbce3Copy full SHA for 45fbce3
source/op/cuda/CMakeLists.txt
@@ -14,7 +14,7 @@ SET(CMAKE_CXX_STANDARD 11)
14
SET(CMAKE_CUDA_STANDARD 11)
15
# nvcc -o libdeepmd_op_cuda.so -I/usr/local/cub-1.8.0 -rdc=true -DHIGH_PREC=true -gencode arch=compute_61,code=sm_61 -shared -Xcompiler -fPIC deepmd_op.cu -L/usr/local/cuda/lib64 -lcudadevrt
16
# very important here! Include path to cub.
17
-include_directories(cub-1.8.0)
+include_directories(cub)
18
# nvcc flags
19
set(CUDA_NVCC_FLAGS -gencode arch=compute_60,code=sm_60; # Pascal – GP100/Tesla P100 – DGX-1 (Generic Pascal)
20
-gencode arch=compute_61,code=sm_61; # Pascal - GTX 1080, GTX 1070, GTX 1060, GTX 1050, GTX 1030, Titan Xp, Tesla P40, Tesla P4, Discrete GPU on the NVIDIA Drive PX2
0 commit comments