![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Custom reduction in the form required by Kokkos. More...
#include <particle_reduction.hpp>
Public Types | |
| using | value_type = ResultType |
Public Member Functions | |
| KokkosReducer (Kernel kernel, ReductionOp< ResultType > reduction_op) | |
| KokkosReducer (KokkosReducer const &other) | |
| KOKKOS_INLINE_FUNCTION void | operator() (std::integral auto const i, value_type &update) const |
| KOKKOS_INLINE_FUNCTION void | join (value_type &dst, value_type const &src) const |
Public Attributes | |
| ReductionOp< ResultType > | reduction_op |
| Kernel | kernel |
Custom reduction in the form required by Kokkos.
Definition at line 49 of file particle_reduction.hpp.
| using Reduction::KokkosReducer< ResultType, Kernel >::value_type = ResultType |
Definition at line 53 of file particle_reduction.hpp.
|
inline |
Definition at line 62 of file particle_reduction.hpp.
|
inline |
Definition at line 64 of file particle_reduction.hpp.
|
inline |
Definition at line 75 of file particle_reduction.hpp.
References Reduction::KokkosReducer< ResultType, Kernel >::reduction_op, and stream.
|
inline |
Definition at line 67 of file particle_reduction.hpp.
References Reduction::KokkosReducer< ResultType, Kernel >::kernel.
| Kernel Reduction::KokkosReducer< ResultType, Kernel >::kernel |
Definition at line 61 of file particle_reduction.hpp.
Referenced by Reduction::KokkosReducer< ResultType, Kernel >::operator()().
| ReductionOp<ResultType> Reduction::KokkosReducer< ResultType, Kernel >::reduction_op |
Definition at line 60 of file particle_reduction.hpp.
Referenced by Reduction::KokkosReducer< ResultType, Kernel >::join().