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

Don't use the compiler launcher script if the compile language is CUDA. #6704

Merged
merged 2 commits into from
Jan 12, 2024

Conversation

benc303
Copy link
Contributor

@benc303 benc303 commented Jan 7, 2024

With this change, the Kokkos CMake config file will no longer force downstream packages to use the compiler launcher if Kokkos is built with ENABLE_COMPILE_AS_CMAKE_LANGUAGE=TRUE and CUDA is enabled.

@masterleinad
Copy link
Contributor

What is the behavior you are seeing right now?

@crtrott
Copy link
Member

crtrott commented Jan 10, 2024

Makes sense to me ...

cmake/KokkosConfig.cmake.in Outdated Show resolved Hide resolved
@benc303
Copy link
Contributor Author

benc303 commented Jan 11, 2024

What is the behavior you are seeing right now?

When compiling Kokkos Kernels, the compiler launcher is used as the compiler, and the script no-ops.

Copy link
Contributor

@masterleinad masterleinad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me apart from updating the comment.

@crtrott crtrott merged commit 9393b35 into kokkos:develop Jan 12, 2024
30 of 31 checks passed
@masterleinad masterleinad mentioned this pull request Feb 9, 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

4 participants