summaryrefslogtreecommitdiffstats
path: root/Help/guide/tutorial/Step10/MathFunctions/MathFunctions.cxx
diff options
context:
space:
mode:
authorRaul Tambre <raul@tambre.ee>2020-05-26 18:18:33 (GMT)
committerBrad King <brad.king@kitware.com>2020-05-26 20:08:52 (GMT)
commit19cc5bc296045fe2237d6db178c6ae70cc7722e0 (patch)
tree8ecd2b680c473fb786835083685a4ae99e3904f6 /Help/guide/tutorial/Step10/MathFunctions/MathFunctions.cxx
parent7c0e5fcf636b21fb2f422add09b2c1bd70d336b0 (diff)
downloadCMake-19cc5bc296045fe2237d6db178c6ae70cc7722e0.zip
CMake-19cc5bc296045fe2237d6db178c6ae70cc7722e0.tar.gz
CMake-19cc5bc296045fe2237d6db178c6ae70cc7722e0.tar.bz2
CUDA: Throw error if user-specified architectures don't work
Previously if an user specified CMAKE_CUDA_ARCHITECTURES and they didn't work we would end up erroring during compiler testing. Instead check if the architectures we successfully compiled with are the same as the user-specified (if any). If they don't match, then throw a more helpful error than compiler testing would. Additionally, to make this work correctly I made it try all user-specified architectures at once instead of each separately. Implements: #20756
Diffstat (limited to 'Help/guide/tutorial/Step10/MathFunctions/MathFunctions.cxx')
0 files changed, 0 insertions, 0 deletions