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 27 of file KokkosDispatcher.h.
|
inlinevirtual |
Definition at line 30 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 35 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 45 of file KokkosDispatcher.h.
1.8.14