Skip to content

Commit 7d7836f

Browse files
Revert cuda compilation parameters to support kepler architecture
1 parent 3edba91 commit 7d7836f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ if(ENABLE_CUDA)
4646
add_compile_definitions(USE_GPU)
4747
#Specify the CUDA architecture / gencode that will be targeted
4848
### Set gencode and architecture variables to the correct values for your specific NVIDIA hardware
49-
set(CMAKE_CUDA_ARCHITECTURES 75)
50-
set(CUDA_NVCC_FLAGS ${CUDA_NVCC_FLAGS};-gencode=arch=compute_75,code=sm_75)
49+
set(CMAKE_CUDA_ARCHITECTURES 37)
50+
set(CUDA_NVCC_FLAGS ${CUDA_NVCC_FLAGS};-gencode=arch=compute_37,code=sm_37)
5151

5252
else()
5353
message("\n----Generating Makefile for Graphitti CPU version----")

0 commit comments

Comments
 (0)