|
OPALX (Object Oriented Parallel Accelerator Library for Exascal) MINIorX
OPALX
|
Kokkos reduction identity specialization for custom reduction types. More...
#include <ParallelReduceTools.h>
Static Public Member Functions | |
| static KOKKOS_FORCEINLINE_FUNCTION ParticleBinning::ArrayReduction< SizeType, IndexType, N > | sum () |
Kokkos reduction identity specialization for custom reduction types.
These specializations of Kokkos::reduction_identity are required to enable the use of custom ArrayReduction types with Kokkos built-in reducers. The reduction identity function provides the neutral element for the reduction operation, which serves as the initial value for thread-private reduction variables.
Definition at line 348 of file ParallelReduceTools.h.
|
inlinestatic |
Definition at line 349 of file ParallelReduceTools.h.