diff options
author | Robert Maynard <rmaynard@nvidia.com> | 2023-12-14 19:05:28 (GMT) |
---|---|---|
committer | Robert Maynard <rmaynard@nvidia.com> | 2023-12-14 19:05:28 (GMT) |
commit | 04959e0285a1473a40b5053b453988aff9bb7534 (patch) | |
tree | 55a120317494a08dce12150a8d07172935686cf6 /Tests/Cuda/CMakeLists.txt | |
parent | 09a3c8b46b745be1edbd83bc0c22d15b2dc02552 (diff) | |
download | CMake-04959e0285a1473a40b5053b453988aff9bb7534.zip CMake-04959e0285a1473a40b5053b453988aff9bb7534.tar.gz CMake-04959e0285a1473a40b5053b453988aff9bb7534.tar.bz2 |
Tests: Verify CUDA::cupti existence on a subset of machines
When we know that the cupti library exists explicitly request the CUDA Toolkit test to verify the existence
Diffstat (limited to 'Tests/Cuda/CMakeLists.txt')
-rw-r--r-- | Tests/Cuda/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/Cuda/CMakeLists.txt b/Tests/Cuda/CMakeLists.txt index c737bcc..efe0358 100644 --- a/Tests/Cuda/CMakeLists.txt +++ b/Tests/Cuda/CMakeLists.txt @@ -14,6 +14,7 @@ add_cuda_test_macro(Cuda.MixedStandardLevels5 MixedStandardLevels5) add_cuda_test_macro(Cuda.NotEnabled CudaNotEnabled) add_cuda_test_macro(Cuda.SeparableCompCXXOnly SeparableCompCXXOnly) add_cuda_test_macro(Cuda.StubRPATH StubRPATH) +set(Cuda.Toolkit_BUILD_OPTIONS -DHAS_CUPTI:BOOL=${CMake_TEST_CUDA_CUPTI}) add_cuda_test_macro(Cuda.Toolkit Toolkit) add_cuda_test_macro(Cuda.IncludePathNoToolkit IncludePathNoToolkit) add_cuda_test_macro(Cuda.SharedRuntimePlusToolkit SharedRuntimePlusToolkit) |