|
RAJA
RAJA provides a collection of platform portability abstractions for C++ HPC applications.
|
Reduce class that does a reduction with a left fold. More...
#include <reduce.hpp>
Public Member Functions | |
| RAJA_HOST_DEVICE constexpr RAJA_INLINE | KahanSum (T init=T()) noexcept |
| RAJA_HOST_DEVICE constexpr RAJA_INLINE void | reset (T init=T()) noexcept |
| reset the combined value of the reducer to the identity More... | |
| RAJA_HOST_DEVICE constexpr RAJA_INLINE T | get_and_reset (T init=T()) |
| return the combined value and reset the reducer More... | |
| RAJA_HOST_DEVICE constexpr RAJA_INLINE T | get () const |
| return the combined value More... | |
| RAJA_HOST_DEVICE constexpr RAJA_INLINE void | combine (T val) |
| combine a value into the reducer More... | |
| RAJA_HOST_DEVICE constexpr RAJA_INLINE void | operator+= (T val) |
| combine a value into the reducer More... | |
Reduce class that does a reduction with a left fold.
|
inlineexplicitconstexprnoexcept |
|
inlineconstexprnoexcept |
reset the combined value of the reducer to the identity
|
inlineconstexpr |
return the combined value and reset the reducer
|
inlineconstexpr |
return the combined value
|
inlineconstexpr |
combine a value into the reducer
|
inlineconstexpr |
combine a value into the reducer