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

Set the CMAKE GPU architectures to what is used for Kokkos #3517

Merged
merged 2 commits into from
Mar 2, 2023

Conversation

anagainaru
Copy link
Contributor

Using the newly introduced Kokkos_CUDA_ARCHITECTURES and Kokkos_HIP_ARCHITECTURES

If the user sets the -D CMAKE_CUDA_ARCHITECTURES to something else, the user defined variable will be used (the same for HIP) so we cover the case when the used intends to use a different architecture.

@anagainaru anagainaru added this to the v2.9.1 milestone Mar 2, 2023
Copy link
Collaborator

@vicentebolea vicentebolea left a comment

Choose a reason for hiding this comment

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

Looks great!

@vicentebolea
Copy link
Collaborator

@anagainaru how about including this for the 2.9.0 rather than 2.9.1.

@anagainaru anagainaru modified the milestones: v2.9.1, v2.10.0, v2.9.0 Mar 2, 2023
@anagainaru anagainaru merged commit eb778f6 into ornladios:release_29 Mar 2, 2023
vicentebolea pushed a commit that referenced this pull request Mar 2, 2023
Set the CMAKE GPU architectures to what is used for Kokkos
@anagainaru anagainaru deleted the set-cuda-architecture branch March 2, 2023 16:42
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.

2 participants