Let CMake check for the MFC_CUDA_CC environment variable to specify --gpu=ccXY for the desired CUDA target architectures. If left unspecified, the behavior is unchanged.
Add MFC_CUDA_CC for GT Phoenix in the toolchain/modules file.
Fixes #346. GPU build times are ~2.7x faster on GT Phoenix.
Type of change
Please delete options that are not relevant.
[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Something else
Scope
[x] This PR comprises a set of related changes with a common goal
If you cannot check the above box, please split your PR into multiple PRs that each have a common goal.
Test Configuration:
What computers and compilers did you use to test this:
Description
MFC_CUDA_CC
environment variable to specify--gpu=ccXY
for the desired CUDA target architectures. If left unspecified, the behavior is unchanged.MFC_CUDA_CC
for GT Phoenix in thetoolchain/modules
file.Fixes #346. GPU build times are ~2.7x faster on GT Phoenix.
Type of change
Please delete options that are not relevant.
Scope
If you cannot check the above box, please split your PR into multiple PRs that each have a common goal.
Test Configuration:
What computers and compilers did you use to test this: