blt icon indicating copy to clipboard operation
blt copied to clipboard

Why is CMAKE_CUDA_ARCHITECTURES not enough

Open white238 opened this issue 2 years ago • 1 comments

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

white238 avatar Mar 19 '22 01:03 white238

This is possibly addressed in #585.

white238 avatar Jun 18 '22 01:06 white238