This repository was archived by the owner on Mar 21, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +1
-17
lines changed Expand file tree Collapse file tree 3 files changed +1
-17
lines changed Original file line number Diff line number Diff line change @@ -2,14 +2,6 @@ thrust_update_system_found_flags()
22
33set (extra_cmake_flags)
44
5- # Need to pass these when testing NVC++.
6- if ("NVCXX" STREQUAL "${CMAKE_CUDA_COMPILER_ID} " )
7- set (extra_cmake_flags
8- -D "CMAKE_CUDA_COMPILER_ID=${CMAKE_CUDA_COMPILER_ID} "
9- -D "CMAKE_CUDA_COMPILER_FORCED=${CMAKE_CUDA_COMPILER_FORCED} "
10- )
11- endif ()
12-
135if (THRUST_CPP_FOUND AND THRUST_CUDA_FOUND)
146 # Do a basic check of the cmake/ThrustAddSubdir.cmake mechanism:
157 add_test (
Original file line number Diff line number Diff line change @@ -2,14 +2,6 @@ thrust_update_system_found_flags()
22
33set (extra_cmake_flags)
44
5- # Need to pass these when testing NVC++.
6- if ("NVCXX" STREQUAL "${CMAKE_CUDA_COMPILER_ID} " )
7- set (extra_cmake_flags
8- -D "CMAKE_CUDA_COMPILER_ID=${CMAKE_CUDA_COMPILER_ID} "
9- -D "CMAKE_CUDA_COMPILER_FORCED=${CMAKE_CUDA_COMPILER_FORCED} "
10- )
11- endif ()
12-
135if (THRUST_CPP_FOUND AND THRUST_CUDA_FOUND)
146 # Test that we can use `find_package` on an installed Thrust:
157 add_test (
Original file line number Diff line number Diff line change @@ -5,6 +5,6 @@ target_link_libraries(${test_target} PRIVATE thrust.silence_unreachable_code_war
55
66# The machinery behind this test is not compatible with NVC++.
77# See https://github.com/NVIDIA/thrust/issues/1397
8- if ("NVCXX " STREQUAL "${CMAKE_CUDA_COMPILER_ID} " )
8+ if ("NVHPC " STREQUAL "${CMAKE_CUDA_COMPILER_ID} " )
99 set_tests_properties (${test_target} PROPERTIES DISABLED True )
1010endif ()
You can’t perform that action at this time.
0 commit comments