Base class for Kokkos functor dispatcher. More...
#include <KokkosDispatcher.h>
Public Member Functions | |
| virtual | ~DispatcherBase () |
| virtual void | parallelFor (const Policy &) |
| Dispatch this functor with Kokkos parallel_for() given a Kokkos execution policy. More... | |
| virtual void | parallelReduce (const Policy &, ::Kokkos::View< Real *, ::Kokkos::HostSpace > &) |
| Dispatch this functor with Kokkos parallel_reduce() given a Kokkos execution policy and result buffer. More... | |
Base class for Kokkos functor dispatcher.
Used for type erasure so that the base class of functors can hold the dispatcher without knowing the actual type of functors.
Definition at line 28 of file KokkosDispatcher.h.
|
inlinevirtual |
Definition at line 31 of file KokkosDispatcher.h.
Dispatch this functor with Kokkos parallel_for() given a Kokkos execution policy.
| policy | The Kokkos execution policy |
Reimplemented in Moose::Kokkos::Dispatcher< Operation, Object >.
Definition at line 36 of file KokkosDispatcher.h.
|
inlinevirtual |
Dispatch this functor with Kokkos parallel_reduce() given a Kokkos execution policy and result buffer.
| policy | The Kokkos execution policy |
| result | The result buffer |
Reimplemented in Moose::Kokkos::Reducer< Operation, Object >.
Definition at line 46 of file KokkosDispatcher.h.
1.8.14