blt
blt copied to clipboard
Why is CMAKE_CUDA_ARCHITECTURES not enough
In all host-configs we set both CMAKE_CUDA_ARCHITECTURES
and add the -arch
flag manually to the CMAKE_CUDA_FLAGS
. Why is does this seem to be necessary? Is it possibly our reliance on the old FindCUDA, which is soon to be removed?
Does this flag need to be set if CMAKE_CUDA_ARCHITECTURES is set?
Originally posted by @adayton1 in https://github.com/LLNL/blt/pull/570#r830399325
This is possibly addressed in #585.