diff options
author | Brad King <brad.king@kitware.com> | 2022-03-04 21:10:46 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-03-10 14:26:13 (GMT) |
commit | 632752d62e8de2730796f509dbb10551351309c2 (patch) | |
tree | bb276c08c91ff7d8c0fe08599033a99be5a85066 /Modules/CMakeDetermineCUDACompiler.cmake | |
parent | 45e9ab0372fab8cdd4ef07acc8c5c8cf104ef850 (diff) | |
download | CMake-632752d62e8de2730796f509dbb10551351309c2.zip CMake-632752d62e8de2730796f509dbb10551351309c2.tar.gz CMake-632752d62e8de2730796f509dbb10551351309c2.tar.bz2 |
CUDA: Add FIXME comments about deferring architecture testing
Issue: #23161
Diffstat (limited to 'Modules/CMakeDetermineCUDACompiler.cmake')
-rw-r--r-- | Modules/CMakeDetermineCUDACompiler.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/CMakeDetermineCUDACompiler.cmake b/Modules/CMakeDetermineCUDACompiler.cmake index 2649441..4263bed 100644 --- a/Modules/CMakeDetermineCUDACompiler.cmake +++ b/Modules/CMakeDetermineCUDACompiler.cmake @@ -250,6 +250,7 @@ if(NOT CMAKE_CUDA_COMPILER_ID_RUN) endif() # Make the all and all-major architecture information available. + # FIXME(#23161): Defer architecture detection until compiler testing. include(${CMAKE_ROOT}/Modules/CUDA/architectures.cmake) endif() @@ -272,6 +273,7 @@ if(NOT CMAKE_CUDA_COMPILER_ID_RUN) endif() endif() + # FIXME(#23161): Defer architecture testing until compiler testing. if(DEFINED CMAKE_CUDA_ARCHITECTURES) if(CMAKE_CUDA_ARCHITECTURES MATCHES "^(all|all-major)$") # For sufficiently new NVCC we can just use the all and all-major flags. @@ -346,6 +348,7 @@ if(NOT CMAKE_CUDA_COMPILER_ID_RUN) # We now know the version, so make the architecture variables available. set(CMAKE_CUDA_COMPILER_TOOLKIT_VERSION ${CMAKE_CUDA_COMPILER_VERSION}) + # FIXME(#23161): Defer architecture detection until compiler testing. include(${CMAKE_ROOT}/Modules/CUDA/architectures.cmake) endif() |