Base class for Kokkos functor dispatcher. More...
#include <KokkosDispatcher.h>
Public Member Functions | |
virtual | ~DispatcherBase () |
virtual void | parallelFor (const Policy &policy)=0 |
Dispatch this functor with Kokkos parallel_for() given a Kokkos execution policy. 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 29 of file KokkosDispatcher.h.
|
inlinevirtual |
Definition at line 32 of file KokkosDispatcher.h.
Dispatch this functor with Kokkos parallel_for() given a Kokkos execution policy.
policy | The Kokkos execution policy |
Implemented in Moose::Kokkos::Dispatcher< Operation, Object >.