Skip to content

[CMake] Allow building for Blackwell+ GPUs#5524

Open
BenWibking wants to merge 1 commit into
AMReX-Codes:developmentfrom
BenWibking:fix-cuda-blackwell
Open

[CMake] Allow building for Blackwell+ GPUs#5524
BenWibking wants to merge 1 commit into
AMReX-Codes:developmentfrom
BenWibking:fix-cuda-blackwell

Conversation

@BenWibking

@BenWibking BenWibking commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

Summary

Updates the CMake configuation so it allows AMREX_CUDA_ARCH to be >= 10 without silently discarding this value. This is required to build AMReX for Blackwell or newer GPUs, which have sm_100 or higher.

Additional background

Checklist

The proposed changes:

  • fix a bug or incorrect behavior in AMReX
  • add new capabilities to AMReX
  • changes answers in the test suite to more than roundoff level
  • are likely to significantly affect the results of downstream AMReX users
  • include documentation in the code and/or rst files, if appropriate

@BenWibking BenWibking requested a review from ax3l June 27, 2026 21:55
@BenWibking

Copy link
Copy Markdown
Contributor Author

@ax3l If there is a simpler way to do this, let me know. The CUDA architecture helper seems to use a lot of old CMake-isms that might have more modern replacements.

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.

1 participant