Skip to content

Commit 5e04e75

Browse files
committed
[FIX] Fixed CMake file with CUDA_ARCHITECTURES property
1 parent f11e3b9 commit 5e04e75

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/mp_tests_gpu/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,6 @@ foreach(testsourcefile ${SOURCES})
2929
string(REPLACE ".cpp" "" testname ${barename})
3030
add_executable(${testname} ${testsourcefile})
3131
set_property(SOURCE ${testsourcefile} PROPERTY LANGUAGE CUDA)
32+
set_property(TARGET ${testname} PROPERTY CUDA_ARCHITECTURES OFF)
3233
add_dependencies(mp_tests_gpu ${testname})
3334
endforeach(testsourcefile ${SOURCES})

0 commit comments

Comments
 (0)