MarkSchofield / WindowsToolchain

A repository containing a CMake toolchain for using MSVC
MIT License
106 stars 19 forks source link

CUDA only supports x64 compilation; exclude the Cuda example from non-x64 builds #110

Closed MarkSchofield closed 2 months ago

MarkSchofield commented 2 months ago

The CUDA documentation calls out that CUDA is only supported with native x64 compilers. Trying an ARM64 build fails. To that end, I'm scoping the 'example' build to only include the CUDA sample when CMAKE_SYSTEM_PROCESSOR is AMD64.