24.02.1
|
This template synthetizes an ICLSimpleFunction 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 ICLSimpleFunction | |
ICLSimpleFunction (CLRuntimeContext *ctx=nullptr) | |
Constructor. More... | |
ICLSimpleFunction (const ICLSimpleFunction &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
ICLSimpleFunction (ICLSimpleFunction &&)=default | |
Default move constructor. More... | |
ICLSimpleFunction & | operator= (const ICLSimpleFunction &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
ICLSimpleFunction & | operator= (ICLSimpleFunction &&)=default |
Default move assignment operator. More... | |
~ICLSimpleFunction () | |
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... | |
Static Public Member Functions | |
template<typename... Args> | |
static Status | validate (Args &&... args) |
Validate input arguments. More... | |
This template synthetizes an ICLSimpleFunction which runs the given kernel K.
|
inline |
Configure the kernel.
[in] | args | Configuration arguments. |
Definition at line 134 of file Helper.h.
References GemmTuner::args.
|
inline |
Configure the kernel setting the GPU target as well.
[in] | gpu_target | GPUTarget to set |
[in] | args | Configuration arguments. |
Definition at line 146 of file Helper.h.
References GemmTuner::args.
|
inlinestatic |
Validate input arguments.
[in] | args | Configuration arguments. |
Definition at line 158 of file Helper.h.
References GemmTuner::args, and arm_compute::validate().