-
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
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 |
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.
Just a question about camp, but otherwise looks good to me!
test/functional/kernel/reduce-params-multi-lambda/test-kernel-reduce-params-multi-lambda.cpp.in
Outdated
Show resolved
Hide resolved
test/functional/kernel/reduce-params-multi-lambda/test-kernel-reduce-params-multi-lambda.cpp.in
Show resolved
Hide resolved
… into feature/bowen/add-valop-kernel
resolves #1522 |
This PR enables the
RAJA::expt::Reduce
interface to work inside RAJA::kernels. See examples/kernel-reduction.cpp for an example