24.02.1
|
Basic interface for functions which have a single CPU kernel. More...
#include <INESimpleFunction.h>
Public Member Functions | |
INESimpleFunction () | |
Constructor. More... | |
INESimpleFunction (const INESimpleFunction &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
INESimpleFunction (INESimpleFunction &&)=default | |
Default move constructor. More... | |
INESimpleFunction & | operator= (const INESimpleFunction &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
INESimpleFunction & | operator= (INESimpleFunction &&)=default |
Default move assignment operator. More... | |
~INESimpleFunction () | |
Default destructor. More... | |
void | run () override final |
Run the kernels contained in the function. More... | |
Public Member Functions inherited from IFunction | |
virtual | ~IFunction ()=default |
Destructor. More... | |
virtual void | prepare () |
Prepare the function for executing. More... | |
Basic interface for functions which have a single CPU kernel.
Definition at line 37 of file INESimpleFunction.h.
Constructor.
Definition at line 36 of file INESimpleFunction.cpp.
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
|
default |
Default move constructor.
|
default |
Default destructor.
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
|
default |
Default move assignment operator.
|
finaloverridevirtual |
Run the kernels contained in the function.
For CPU kernels:
For OpenCL kernels:
Implements IFunction.
Definition at line 41 of file INESimpleFunction.cpp.
References Window::DimY, Window::DimZ, Scheduler::get(), and IScheduler::schedule().