CUDA/Clang: Determine cross-compiling target from CMAKE_CUDA_COMPILER_TARGET

When cross-compiling CUDA with Clang, `CMAKE_CUDA_COMPILER_TARGET` is
typically set to the target triple.  Use it to select the CUDA toolkit
target directory.
1 file changed