-
Notifications
You must be signed in to change notification settings - Fork 176
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
fix: require CUDA_STANDARD 20 in Plugins/Cuda #4084
base: main
Are you sure you want to change the base?
Conversation
WalkthroughChanges made, they have. In the CMake configuration of the ActsPluginCuda2 library, new CUDA properties added are. The CUDA standard now set to version 20 and its requirement enabled, these changes are. Existing properties such as CUDA_SEPARABLE_COMPILATION and POSITION_INDEPENDENT_CODE, unchanged they remain. Focusing solely on property declarations, the file’s configuration is enhanced with these precise settings. Changes
Suggested labels
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms (21)
🔇 Additional comments (2)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This formalism seems fine to solve the current issue.
I personally prefer to set C++ standards for the different languages through cache variables. For instance CMAKE_CUDA_STANDARD in this case. Similar to what we do in traccc.
https://github.com/acts-project/traccc/blob/main/CMakeLists.txt#L11-L17
(As it makes it easier to try a different standards in the CI for instance.)
But as I started, for this largely defunct library this seems like a fine solution.
This PR requires CUDA_STANDARD 20 in the CUDA plugin, which is required since the use of the
numbers
header in #3781 (specifically throughActs/Definitions/Units.hpp
.--- END COMMIT MESSAGE ---
It does not see that Plugins/ExaTrkX needs CUDA_STANDARD 20 just yet, since it does not seem that
Summary by CodeRabbit