Reducer: New wrapper class for ReduceOps and ReduceData#4933
Reducer: New wrapper class for ReduceOps and ReduceData#4933WeiqunZhang merged 10 commits intoAMReX-Codes:developmentfrom
Conversation
|
Let's compare performance with #4925. |
0dc1dcb to
216bc13
Compare
27e54b6 to
d93c0d4
Compare
|
Will add documentation later in this PR. |
I think this is easier to use than ReduceOps and ReduceData. Also add the capability of masking out results. The user still needs to provide an arbitrary value (e.g., 0) of masked-out reduction to avoid potential floating point exceptions.
d93c0d4 to
fffe011
Compare
4f81bc2 to
8ee4a70
Compare
|
/run-hpsf-gitlab-ci |
|
GitLab CI 1410750 finished with status: success. See details at https://gitlab.spack.io/amrex/amrex/-/pipelines/1410750. |
|
Unfortunately the performance is not what we like. Below are results from perlmutter. The no-mask runs used the development branch @ax3l For ImpactX, the best approach might be to have a few common combination of reductions, instead of truly runtime. |
|
I still like the new wrapper class, but I am going to remove the mask from it. |
|
/run-hpsf-gitlab-ci |
|
GitLab CI 1412008 finished with status: failed. See details at https://gitlab.spack.io/amrex/amrex/-/pipelines/1412008. |
I think this is easier to use than ReduceOps and ReduceData.