Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CUDA clang++ support #193

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
Open

Add CUDA clang++ support #193

wants to merge 4 commits into from

Conversation

tom91136
Copy link
Member

@tom91136 tom91136 commented Apr 16, 2024

clang++ supports compiling CUDA sources directly and the resulting binary works as expected for the CUDA model.
This PR adds a -DCUDA_CLANG_DRIVER=ON|OFF option that defaults to OFF so that nvcc continues to work.
The feature will required CMake >= 3.18: https://cmake.org/cmake/help/latest/release/3.18.html#languages

Addresses #191

@tom91136 tom91136 requested a review from tomdeakin April 16, 2024 16:21
@tom91136 tom91136 changed the base branch from main to develop April 16, 2024 16:21
@tomdeakin
Copy link
Contributor

The CI failed for this on the NVC++ compiler.

@tomdeakin tomdeakin added this to the v6.0 milestone May 13, 2024
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.

None yet

2 participants