Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Commit c0b2aa3

Browse files
authored
Update nvcc options for Random123 : CUDA 7 for compatibility (#109)
1 parent 12f01fc commit c0b2aa3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

coreneuron/CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,8 +273,12 @@ set(link_reportinglib)
273273
#@TODO: CMake should have option for arch
274274
if(ENABLE_OPENACC AND ENABLE_CUDA_MODULES)
275275
cuda_add_library("cudacoreneuron" ${coreneuron_cuda_files} OPTIONS
276+
-arch=sm_30
276277
-gencode=arch=compute_30,code=sm_30
277-
-gencode=arch=compute_60,code=sm_60)
278+
-gencode=arch=compute_50,code=sm_50
279+
-gencode=arch=compute_52,code=sm_52
280+
-gencode=arch=compute_52,code=compute_52
281+
)
278282
set(link_cudacoreneuron cudacoreneuron)
279283
endif()
280284

0 commit comments

Comments
 (0)