-
- Downloads
CUDA: Add CUDA_ARCHITECTURES target property
Simplifies CUDA target architecture handling. Required for Clang support as Clang doesn't automatically select a supported architecture. We detect a supported architecture during compiler identification and set CMAKE_CUDA_ARCHITECTURES to it. Introduces CMP0104 for backwards compatibility with manually setting code generation flags with NVCC. Implements #17963.
Showing
- Help/manual/cmake-policies.7.rst 1 addition, 0 deletionsHelp/manual/cmake-policies.7.rst
- Help/manual/cmake-properties.7.rst 1 addition, 0 deletionsHelp/manual/cmake-properties.7.rst
- Help/manual/cmake-variables.7.rst 1 addition, 0 deletionsHelp/manual/cmake-variables.7.rst
- Help/policy/CMP0104.rst 31 additions, 0 deletionsHelp/policy/CMP0104.rst
- Help/prop_tgt/CUDA_ARCHITECTURES.rst 30 additions, 0 deletionsHelp/prop_tgt/CUDA_ARCHITECTURES.rst
- Help/release/dev/cuda-architectures-empty.rst 7 additions, 0 deletionsHelp/release/dev/cuda-architectures-empty.rst
- Help/release/dev/cuda-architectures.rst 6 additions, 0 deletionsHelp/release/dev/cuda-architectures.rst
- Help/variable/CMAKE_CUDA_ARCHITECTURES.rst 17 additions, 0 deletionsHelp/variable/CMAKE_CUDA_ARCHITECTURES.rst
- Modules/CMakeDetermineCUDACompiler.cmake 11 additions, 0 deletionsModules/CMakeDetermineCUDACompiler.cmake
- Source/cmCoreTryCompile.cxx 3 additions, 0 deletionsSource/cmCoreTryCompile.cxx
- Source/cmGeneratorTarget.cxx 89 additions, 0 deletionsSource/cmGeneratorTarget.cxx
- Source/cmGeneratorTarget.h 2 additions, 0 deletionsSource/cmGeneratorTarget.h
- Source/cmLocalGenerator.cxx 2 additions, 0 deletionsSource/cmLocalGenerator.cxx
- Source/cmPolicies.h 6 additions, 1 deletionSource/cmPolicies.h
- Source/cmTarget.cxx 1 addition, 0 deletionsSource/cmTarget.cxx
- Tests/CudaOnly/Architecture/CMakeLists.txt 5 additions, 0 deletionsTests/CudaOnly/Architecture/CMakeLists.txt
- Tests/CudaOnly/Architecture/main.cu 9 additions, 0 deletionsTests/CudaOnly/Architecture/main.cu
- Tests/CudaOnly/CMakeLists.txt 1 addition, 0 deletionsTests/CudaOnly/CMakeLists.txt
- Tests/RunCMake/CMP0104/CMP0104-Common.cmake 2 additions, 0 deletionsTests/RunCMake/CMP0104/CMP0104-Common.cmake
- Tests/RunCMake/CMP0104/CMP0104-NEW.cmake 6 additions, 0 deletionsTests/RunCMake/CMP0104/CMP0104-NEW.cmake
Loading
Please register or sign in to comment