-
Notifications
You must be signed in to change notification settings - Fork 102
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
Add MultiReducer #1665
Add MultiReducer #1665
Conversation
this has to do with using HighAccuracyReduce
the reset test will fail because forone does not handle reducers properly
Adding an example could be really nice too! You can probably just take one from the unit test. |
Here is the nvcc error output.
|
This requires a change in camp to allow use of std::tuple_size before c++17
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.
Overall, looks really good. I had some question comments about a few things and a number of suggestions to clarify documentation.
Co-authored-by: Rich Hornung <hornung1@llnl.gov>
Co-authored-by: Rich Hornung <hornung1@llnl.gov>
…nto feature/burmark1/multireduce
@MrBurmark third time is the charm? 😄 |
*crosses fingers* |
// using multi_reduce_policy = RAJA::cuda_multi_reduce_atomic; | ||
// using multi_reduce_policy = RAJA::hip_multi_reduce_atomic; | ||
|
||
Here a simple sum multi-reduction is performed using RAJA:: |
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.
I don't think we want that change unless you change: "Here a" to "Here is a", which is more verbose.
Co-authored-by: Robert Chen <chen59@llnl.gov>
…nto feature/burmark1/multireduce
Add runtime sized reducer
Add a runtime sized reducer based on design mentioned in #1648.