Compute Library
 23.05
ValidateExample Class Reference

Abstract ValidateExample class. More...

#include <ValidateExample.h>

Public Member Functions

virtual bool do_setup (int argc, char **argv)
 Setup the example. More...
 
virtual void do_run ()
 Run the example. More...
 
virtual void do_validate ()
 Run reference implementation and validate against the target output. More...
 
virtual void do_teardown ()
 Teardown the example. More...
 
virtual void print_parameters (test::framework::Printer &printer)
 Print the example parameters. More...
 
virtual ~ValidateExample ()=default
 Default destructor. More...
 

Detailed Description

Abstract ValidateExample class.

All examples with a validation stage have to inherit from this class.

Definition at line 43 of file ValidateExample.h.

Constructor & Destructor Documentation

◆ ~ValidateExample()

virtual ~ValidateExample ( )
virtualdefault

Default destructor.

Member Function Documentation

◆ do_run()

◆ do_setup()

virtual bool do_setup ( int  argc,
char **  argv 
)
inlinevirtual

◆ do_teardown()

◆ do_validate()

virtual void do_validate ( )
inlinevirtual

Run reference implementation and validate against the target output.

Definition at line 60 of file ValidateExample.h.

61  {
62  }

◆ print_parameters()

virtual void print_parameters ( test::framework::Printer printer)
inlinevirtual

Print the example parameters.

Parameters
[in,out]printerPrinter to use to print the parameters

Definition at line 69 of file ValidateExample.h.

References ARM_COMPUTE_UNUSED, and arm_compute::utils::run_example().

70  {
71  ARM_COMPUTE_UNUSED(printer);
72  }
#define ARM_COMPUTE_UNUSED(...)
To avoid unused variables warnings.
Definition: Error.h:152

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