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

[3.7.01] Make sure we don't add '-cuda' to the link line with NVC++ #5569

Merged

Conversation

dalg24
Copy link
Member

@dalg24 dalg24 commented Oct 18, 2022

Cherry-pick #5485 into RC 3.7.01

Fixes #5483

Obviously, in an ideal world we don't process that entire block when the
CUDA backend is not enabled.  Wrapping it in a big
if(KOKKOS_ENABLE_CUDA) makes the code less readable and I don't want to
get into refactoring the whole thing.  I considered introducing a
KOKKOS_CUDA_LINK_OPTIONS variables but that would force us to duplicate
some target_link_options workaround for CMake version less than 3.18
@dalg24 dalg24 mentioned this pull request Oct 18, 2022
@dalg24 dalg24 merged commit 0ebf244 into kokkos:release-candidate-3.7.01 Oct 18, 2022
@dalg24 dalg24 deleted the cherry-pick-5485-into-rc371 branch October 18, 2022 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants