-
Notifications
You must be signed in to change notification settings - Fork 104
feature: add new reduction valop / valloc interface to kernel #1799
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
base: develop
Are you sure you want to change the base?
Conversation
@LLNL/raja-core It would be nice to get a preliminary review on this PR. I'm still working on the openmp implementation of this feature, but HIP and CUDA are passing the basic unit tests demonstrated in the PR |
@johnbowen42 , I took a look -- Overall its looking pretty good! My one comment is that we should add 2 lambda test just to verify that works as well. |
… into feature/bowen/add-valop-kernel
@johnbowen42 would also be able to add the kernel naming capability? It should be copy paste from one of the forall or launch implementations |
I think I want to handle this in a follow up because of the already large size of this PR. #1827 to track |
Added a multiple lambda unit test |
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.
Minor comments but looking good!
namespace internal | ||
{ | ||
|
||
struct ParamBase | ||
{}; | ||
|
||
} // end namespace internal |
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.
An alternative would be to make an alias here instead of changing it everywhere.
This PR is now dependent on LLNL/camp#174 for merging. CI will be broken until this is merged |
This PR enables the
RAJA::expt::Reduce
interface to work inside RAJA::kernels. See examples/kernel-reduction.cpp for an example