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

Rename param implementation #1792

Merged
merged 5 commits into from
Feb 20, 2025
Merged

Conversation

MrBurmark
Copy link
Member

@MrBurmark MrBurmark commented Feb 18, 2025

Rename param implementation

Prepend param_ to the init, combine, and resolve overloads used to implement the params interface.
This avoids having to make a call to a specific function in detail and should allow the interface to be more extensible. Perhaps even to the point of letting users add params that could look at things like the cuda/hip launch parameters.
Also pass the policy by value to avoid having to specifying the template parameter explicitly.

  • This PR is a refactoring
  • It does the following (modify list as needed):
    • refactors params to be more easily greppable and more extensible

@MrBurmark MrBurmark requested review from artv3, mdavis36, johnbowen42 and a team February 18, 2025 22:59
@MrBurmark MrBurmark force-pushed the feature/burmark1/param_rename branch 2 times, most recently from 3a4a65b to c63cf3e Compare February 18, 2025 23:41
Prefix helper methods dealign with many paramaters with params_.
This makes it much easier to differentiate them from other
functions and variables with the same name.
This makes this use normal overloading resolution instead of
trying to take everything through the RAJA::detail namespace.
Theoretically this should allow a user could make their own param.
@MrBurmark MrBurmark force-pushed the feature/burmark1/param_rename branch from c63cf3e to 3ed1b70 Compare February 19, 2025 00:04
@rchen20 rchen20 self-requested a review February 19, 2025 17:02
@MrBurmark MrBurmark merged commit bf4d1b8 into develop Feb 20, 2025
27 checks passed
@MrBurmark MrBurmark deleted the feature/burmark1/param_rename branch February 20, 2025 19:11
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.

None yet

4 participants