Currently to get proper propagation of architecture flags such as
-arch=sm_50, -compute=compute_X you need to place these into the
CMAKE_CUDA_FLAGS. This is a known issue, as flags specified by
`target_compile_options` are not propagate to the device linking step,
which needs the correct architec
Hi Robert!
Thank you for the help. I don’t know if I could’ve find that solution myself. I
guess selecting CUDA as the COMPILE_LANGUAGE I can controll .cu compiler
options to select architecture and what not.
Anyhow, if someone needed the minimal template, here it is:
https://gist.github.com/M