Skip to content
Snippets Groups Projects
Commit e98588aa authored by Raul Tambre's avatar Raul Tambre
Browse files

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.
parent 71a06093
No related branches found
No related tags found
No related merge requests found
Showing
with 231 additions and 1 deletion
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment