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

Base class for host functor wrapper. More...

#include <KokkosFunctorWrapper.h>

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

Public Member Functions

virtual ~FunctorWrapperHostBase ()
 Virtual destructor. More...
 
virtual FunctorWrapperDeviceBaseallocate ()=0
 Allocate device functor and wrapper. More...
 
virtual void copyFunctor ()=0
 Copy functor to device. More...
 
virtual void freeFunctor ()=0
 Free host and device copies of functor. More...
 

Detailed Description

Base class for host functor wrapper.

Definition at line 65 of file KokkosFunctorWrapper.h.

Constructor & Destructor Documentation

◆ ~FunctorWrapperHostBase()

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

Virtual destructor.

Definition at line 71 of file KokkosFunctorWrapper.h.

71 {}

Member Function Documentation

◆ allocate()

virtual FunctorWrapperDeviceBase* Moose::Kokkos::FunctorWrapperHostBase::allocate ( )
pure virtual

Allocate device functor and wrapper.

Returns
The pointer to the device wrapper

Implemented in Moose::Kokkos::FunctorWrapperHost< Object >.

◆ copyFunctor()

virtual void Moose::Kokkos::FunctorWrapperHostBase::copyFunctor ( )
pure virtual

Copy functor to device.

Implemented in Moose::Kokkos::FunctorWrapperHost< Object >.

◆ freeFunctor()

virtual void Moose::Kokkos::FunctorWrapperHostBase::freeFunctor ( )
pure virtual

Free host and device copies of functor.

Implemented in Moose::Kokkos::FunctorWrapperHost< Object >.


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