Skip to content

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

Merged
MarkSchofield merged 1 commit intomainfrom
mschofie/cuda-x64
Sep 17, 2024
Merged

CUDA only supports x64 compilation; exclude the Cuda example from non-x64 builds#110
MarkSchofield merged 1 commit intomainfrom
mschofie/cuda-x64

Conversation

@MarkSchofield
Copy link
Copy Markdown
Owner

@MarkSchofield MarkSchofield commented Sep 15, 2024

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.

@MarkSchofield MarkSchofield merged commit b44662d into main Sep 17, 2024
@MarkSchofield MarkSchofield deleted the mschofie/cuda-x64 branch September 17, 2024 03:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant