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

Update nvcc_wrapper default arch to work with CUDA 12 #5691

Merged
merged 1 commit into from
Dec 15, 2022

Conversation

crtrott
Copy link
Member

@crtrott crtrott commented Dec 15, 2022

Our cmake config uses nvcc_wrapper at some point without architecture flag, and thus the default architecture is used. CUDA 12 dropped support for Kepler so 3.5 will not be accepted. arch_70 is supported by CUDA 9 onward, and is unlikely to be dropped anytime soon from CUDA.

@dalg24
Copy link
Member

dalg24 commented Dec 15, 2022

Please update the description and explain why we need to change and why 70 is the right compute capability to chose as new default.

@crtrott crtrott added Blocks Promotion Overview issue for release-blocking bugs Patch Release labels Dec 15, 2022
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.

Do we need to set a default architecture at all?

@crtrott crtrott mentioned this pull request Dec 15, 2022
@crtrott
Copy link
Member Author

crtrott commented Dec 15, 2022

Do we need to set a default architecture at all?

Yeah I thought about just getting rid of it, but then I remembered that there were quite a few people who modify the script to set their arch instead of providing the -arch flag properly ...

@crtrott crtrott force-pushed the update_nvcc_wrapper_default_arch branch from 57191bd to 87a6deb Compare December 15, 2022 20:30
@PhilMiller PhilMiller added the CHANGELOG Item to be included in release CHANGELOG label Dec 15, 2022
@PhilMiller
Copy link
Contributor

Test failures are irrelevant things in HIP and OpenMPTarger

@crtrott crtrott merged commit f64e5a6 into kokkos:develop Dec 15, 2022
@crtrott crtrott deleted the update_nvcc_wrapper_default_arch branch March 29, 2023 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backend - CUDA Blocks Promotion Overview issue for release-blocking bugs CHANGELOG Item to be included in release CHANGELOG Patch Release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants