24.02.1
|
This template synthetizes a simple IOperator which runs the given kernel K. More...
#include <Helper.h>
Public Member Functions | |
template<typename... Args> | |
void | configure (Args &&... args) |
Configure the kernel. More... | |
template<typename... Args> | |
void | configure (GPUTarget gpu_target, Args &&... args) |
Configure the kernel setting the GPU target as well. More... | |
Public Member Functions inherited from ICLOperator | |
ICLOperator (IRuntimeContext *ctx=nullptr) | |
Constructor. More... | |
ICLOperator (const ICLOperator &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
ICLOperator (ICLOperator &&)=default | |
Default move constructor. More... | |
ICLOperator & | operator= (const ICLOperator &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
ICLOperator & | operator= (ICLOperator &&)=default |
Default move assignment operator. More... | |
void | run (ITensorPack &tensors) override |
Run the kernels contained in the function. More... | |
void | prepare (ITensorPack &constants) override |
Prepare the function for executing. More... | |
MemoryRequirements | workspace () const override |
Return the memory requirements required by the workspace. More... | |
Public Member Functions inherited from IOperator | |
virtual | ~IOperator ()=default |
Destructor. More... | |
Static Public Member Functions | |
template<typename... Args> | |
static Status | validate (Args &&... args) |
Validate input arguments. More... | |
This template synthetizes a simple IOperator which runs the given kernel K.
|
inline |
|
inline |
|
inlinestatic |
Validate input arguments.
[in] | args | Configuration arguments. |