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

Base class for host function wrapper. More...

#include <KokkosFunctionWrapper.h>

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

Public Member Functions

virtual ~FunctionWrapperHostBase ()
 Virtual destructor. More...
 
virtual FunctionWrapperDeviceBaseallocate ()=0
 Allocate device function and wrapper. More...
 
virtual void copyFunction ()=0
 Copy function to device. More...
 
virtual void freeFunction ()=0
 Free host and device copies of function. More...
 

Detailed Description

Base class for host function wrapper.

Definition at line 105 of file KokkosFunctionWrapper.h.

Constructor & Destructor Documentation

◆ ~FunctionWrapperHostBase()

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

Virtual destructor.

Definition at line 111 of file KokkosFunctionWrapper.h.

111 {}

Member Function Documentation

◆ allocate()

virtual FunctionWrapperDeviceBase* Moose::Kokkos::FunctionWrapperHostBase::allocate ( )
pure virtual

Allocate device function and wrapper.

Returns
The pointer to the device wrapper

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

◆ copyFunction()

virtual void Moose::Kokkos::FunctionWrapperHostBase::copyFunction ( )
pure virtual

Copy function to device.

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

◆ freeFunction()

virtual void Moose::Kokkos::FunctionWrapperHostBase::freeFunction ( )
pure virtual

Free host and device copies of function.

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


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