Skip to content

Commit 4961bbf

Browse files
authored
Add GPU support for tensorflow operations
1 parent 45fbce3 commit 4961bbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/op/cuda/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ SET(CMAKE_CXX_STANDARD 11)
1414
SET(CMAKE_CUDA_STANDARD 11)
1515
# 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
1616
# very important here! Include path to cub.
17-
include_directories(cub)
17+
include_directories(cub)
1818
# nvcc flags
1919
set(CUDA_NVCC_FLAGS -gencode arch=compute_60,code=sm_60; # Pascal – GP100/Tesla P100 – DGX-1 (Generic Pascal)
2020
-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

Comments
 (0)