![]() |
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, Reduction reduction_op) | |
| void | operator() (std::integral auto const i, value_type &update) const |
| void | join (value_type &dst, value_type const &src) const |
Public Attributes | |
| Reduction | reduction_op |
| Kernel | kernel |
Custom reduction in the form required by Kokkos.
Definition at line 36 of file particle_reduction.hpp.
| using Reduction::KokkosReducer< ResultType, Kernel, Reduction >::value_type = ResultType |
Definition at line 40 of file particle_reduction.hpp.
|
inline |
Definition at line 49 of file particle_reduction.hpp.
|
inline |
Definition at line 59 of file particle_reduction.hpp.
References Reduction::KokkosReducer< ResultType, Kernel, Reduction >::reduction_op, and stream.
|
inline |
Definition at line 52 of file particle_reduction.hpp.
References Reduction::KokkosReducer< ResultType, Kernel, Reduction >::kernel.
| Kernel Reduction::KokkosReducer< ResultType, Kernel, Reduction >::kernel |
Definition at line 48 of file particle_reduction.hpp.
Referenced by Reduction::KokkosReducer< ResultType, Kernel, Reduction >::operator()().
| Reduction Reduction::KokkosReducer< ResultType, Kernel, Reduction >::reduction_op |
Definition at line 47 of file particle_reduction.hpp.
Referenced by Reduction::KokkosReducer< ResultType, Kernel, Reduction >::join().