![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Classes | |
| class | KokkosReducer |
| Custom reduction in the form required by Kokkos. More... | |
Typedefs | |
| template<typename ResultType > | |
| using | AddPartialResultKernel = std::function< void(ResultType &, Particle const &)> |
| Kernel that adds the result from a single particle to a reduction. | |
| template<typename ResultType > | |
| using | ReductionOp = std::function< void(ResultType &, ResultType const &)> |
| Join two partial reduction results. | |
Functions | |
| template<typename ResultType , typename Kernel > | |
| KokkosReducer< ResultType, Kernel > | make_kokkos_reducer (Kernel k, ReductionOp< ResultType > reduce_op) |
| using Reduction::AddPartialResultKernel = typedef std::function<void(ResultType &, Particle const &)> |
Kernel that adds the result from a single particle to a reduction.
Definition at line 39 of file particle_reduction.hpp.
| using Reduction::ReductionOp = typedef std::function<void(ResultType &, ResultType const &)> |
Join two partial reduction results.
Definition at line 44 of file particle_reduction.hpp.
| KokkosReducer< ResultType, Kernel > Reduction::make_kokkos_reducer | ( | Kernel | k, |
| ReductionOp< ResultType > | reduce_op | ||
| ) |
Definition at line 83 of file particle_reduction.hpp.