Compute Library
 21.02
ICPPSimpleKernel Class Reference

Interface for simple C++ kernels having 1 tensor input and 1 tensor output. More...

#include <ICPPSimpleKernel.h>

Collaboration diagram for ICPPSimpleKernel:
[legend]

Public Member Functions

 ICPPSimpleKernel ()
 Constructor. More...
 
 ICPPSimpleKernel (const ICPPSimpleKernel &)=delete
 Prevent instances of this class from being copied (As this class contains pointers) More...
 
ICPPSimpleKerneloperator= (const ICPPSimpleKernel &)=delete
 Prevent instances of this class from being copied (As this class contains pointers) More...
 
 ICPPSimpleKernel (ICPPSimpleKernel &&)=default
 Allow instances of this class to be moved. More...
 
ICPPSimpleKerneloperator= (ICPPSimpleKernel &&)=default
 Allow instances of this class to be moved. More...
 
 ~ICPPSimpleKernel ()=default
 Default destructor. More...
 
- Public Member Functions inherited from ICPPKernel
virtual ~ICPPKernel ()=default
 Default destructor. More...
 
virtual void run (const Window &window, const ThreadInfo &info)
 Execute the kernel on the passed window. More...
 
virtual void run_nd (const Window &window, const ThreadInfo &info, const Window &thread_locator)
 legacy compatibility layer for implemantions which do not support thread_locator In these cases we simply narrow the interface down the legacy version More...
 
virtual void run_op (ITensorPack &tensors, const Window &window, const ThreadInfo &info)
 Execute the kernel on the passed window. More...
 
virtual const char * name () const =0
 Name of the kernel. More...
 
- Public Member Functions inherited from IKernel
 IKernel ()
 Constructor. More...
 
virtual ~IKernel ()=default
 Destructor. More...
 
virtual bool is_parallelisable () const
 Indicates whether or not the kernel is parallelisable. More...
 
virtual BorderSize border_size () const
 The size of the border for that kernel. More...
 
const Windowwindow () const
 The maximum window the kernel can be executed on. More...
 

Detailed Description

Interface for simple C++ kernels having 1 tensor input and 1 tensor output.

Definition at line 34 of file ICPPSimpleKernel.h.

Constructor & Destructor Documentation

◆ ICPPSimpleKernel() [1/3]

◆ ICPPSimpleKernel() [2/3]

ICPPSimpleKernel ( const ICPPSimpleKernel )
delete

Prevent instances of this class from being copied (As this class contains pointers)

◆ ICPPSimpleKernel() [3/3]

Allow instances of this class to be moved.

◆ ~ICPPSimpleKernel()

~ICPPSimpleKernel ( )
default

Default destructor.

Member Function Documentation

◆ operator=() [1/2]

ICPPSimpleKernel& operator= ( const ICPPSimpleKernel )
delete

Prevent instances of this class from being copied (As this class contains pointers)

◆ operator=() [2/2]

ICPPSimpleKernel& operator= ( ICPPSimpleKernel &&  )
default

Allow instances of this class to be moved.


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