Compute Library
 22.11
NESynthetizeFunction< K > Class Template Reference

This template synthetizes an INESimpleFunction which runs the given kernel K. More...

#include <Helper.h>

Collaboration diagram for NESynthetizeFunction< K >:
[legend]

Public Member Functions

template<typename... Args>
void configure (Args &&... args)
 Configure the kernel. More...
 
- Public Member Functions inherited from INESimpleFunctionNoBorder
 INESimpleFunctionNoBorder (IRuntimeContext *ctx=nullptr)
 Constructor. More...
 
 INESimpleFunctionNoBorder (const INESimpleFunctionNoBorder &)=delete
 Prevent instances of this class from being copied (As this class contains pointers) More...
 
 INESimpleFunctionNoBorder (INESimpleFunctionNoBorder &&)=default
 Default move constructor. More...
 
INESimpleFunctionNoBorderoperator= (const INESimpleFunctionNoBorder &)=delete
 Prevent instances of this class from being copied (As this class contains pointers) More...
 
INESimpleFunctionNoBorderoperator= (INESimpleFunctionNoBorder &&)=default
 Default move assignment operator. More...
 
 ~INESimpleFunctionNoBorder ()
 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...
 

Detailed Description

template<typename K>
class arm_compute::test::NESynthetizeFunction< K >

This template synthetizes an INESimpleFunction which runs the given kernel K.

Definition at line 59 of file Helper.h.

Member Function Documentation

◆ configure()

void configure ( Args &&...  args)
inline

Configure the kernel.

Parameters
[in]argsConfiguration arguments.

Definition at line 67 of file Helper.h.

References GemmTuner::args, and arm_compute::test::validation::k.

68  {
69  auto k = std::make_unique<K>();
70  k->configure(std::forward<Args>(args)...);
71  _kernel = std::move(k);
72  }

◆ validate()

static Status validate ( Args &&...  args)
inlinestatic

Validate input arguments.

Parameters
[in]argsConfiguration arguments.

Definition at line 78 of file Helper.h.

References GemmTuner::args, and arm_compute::experimental::dynamic_fusion::validate().

Referenced by arm_compute::test::validation::DATA_TEST_CASE().

79  {
80  return K::validate(std::forward<Args>(args)...);
81  }
Status validate(const OperatorGraph &op_graph)
Return the validity of op_graph, usually after performing an operation (e.g.

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