https://mooseframework.inl.gov
Public Member Functions | List of all members
Moose::Kokkos::DispatcherBase Class Referenceabstract

Base class for Kokkos functor dispatcher. More...

#include <KokkosDispatcher.h>

Inheritance diagram for Moose::Kokkos::DispatcherBase:
[legend]

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...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ~DispatcherBase()

virtual Moose::Kokkos::DispatcherBase::~DispatcherBase ( )
inlinevirtual

Definition at line 32 of file KokkosDispatcher.h.

32 {}

Member Function Documentation

◆ parallelFor()

virtual void Moose::Kokkos::DispatcherBase::parallelFor ( const Policy policy)
pure virtual

Dispatch this functor with Kokkos parallel_for() given a Kokkos execution policy.

Parameters
policyThe Kokkos execution policy

Implemented in Moose::Kokkos::Dispatcher< Operation, Object >.


The documentation for this class was generated from the following file: