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

Require less ancient CUDA architecture and OpenMP implementation #1578

Merged
merged 19 commits into from
Jan 19, 2025

Conversation

sethrj
Copy link
Member

@sethrj sethrj commented Jan 14, 2025

This adds a CMake-based check that OpenMP support conforms to 3.0 and above (spec released in 2008). It also removes support for ancient CUDA cards (older than 2016) and simplifies some of the atomic macros. As part of the CMake check, the "invalid option" now updates the CMake Cache rather than suggesting a variable change, so it's likely a reconfigure will pass.

Copy link

github-actions bot commented Jan 14, 2025

Test summary

 4 428 files   6 854 suites   6m 51s ⏱️
 1 676 tests  1 670 ✅  6 💤 0 ❌
22 950 runs  22 866 ✅ 84 💤 0 ❌

Results for commit bc7ef01.

♻️ This comment has been updated with latest results.

src/corecel/math/Atomics.hh Outdated Show resolved Hide resolved
CMakeLists.txt Outdated Show resolved Hide resolved
@sethrj sethrj marked this pull request as ready for review January 17, 2025 20:51
@sethrj sethrj changed the title Use OpenMP on windows CI build Require less ancient CUDA architecture and OpenMP implementation Jan 17, 2025
@sethrj sethrj added core Software engineering infrastructure removal Deprecation and removal labels Jan 17, 2025
Copy link
Contributor

@amandalund amandalund 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, thanks!

@sethrj sethrj enabled auto-merge (squash) January 18, 2025 11:44
@sethrj sethrj mentioned this pull request Jan 18, 2025
10 tasks
@sethrj sethrj merged commit c9e643a into celeritas-project:develop Jan 19, 2025
36 checks passed
sethrj added a commit that referenced this pull request Jan 21, 2025
* Use OpenMP on windows build
* Remove atomic support for ancient architectures
* Add macro for atomics
* Use signed integer to make windows happy
* Use track parallelism
* Require OpenMP 3
* Use llvm runtime for msvc
* add debug message
* Revert "add debug message"
* Revert signed integers
* Turn openmp off for windows
* Override cache variables rather than advising user
* Remove MSVC code
* Address pcanal feedback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Software engineering infrastructure removal Deprecation and removal
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants