24.02.1
|
An interface that can write a gpu kernel. More...
#include <IGpuKernelWriter.h>
Public Member Functions | |
virtual | ~IGpuKernelWriter () |
Destructor. More... | |
virtual std::string | get_name ()=0 |
Generate kernel name. More... | |
virtual std::string | get_code ()=0 |
Generate kernel code. More... | |
virtual CLBuildOptions | get_build_options () |
Generate build options. More... | |
virtual std::string | get_config_id ()=0 |
Generate config id string of the entire kernel. More... | |
virtual Window | get_window () const =0 |
Generate execution window. More... | |
virtual std::map< ITensorInfo::Id, GpuKernelArgument > | get_tensors () |
Get the kernel argument lists of the kernel. More... | |
An interface that can write a gpu kernel.
Definition at line 45 of file IGpuKernelWriter.h.
|
inlinevirtual |
|
inlinevirtual |
Generate build options.
Reimplemented in ClTemplateWriter.
Definition at line 57 of file IGpuKernelWriter.h.
|
pure virtual |
Generate kernel code.
Implemented in ClTemplateWriter, and GpuCkwDriver.
|
pure virtual |
Generate config id string of the entire kernel.
This is used for tuning
Implemented in ClTemplateWriter, and GpuCkwDriver.
|
pure virtual |
Generate kernel name.
Implemented in ClTemplateWriter, and GpuCkwDriver.
|
inlinevirtual |
Get the kernel argument lists of the kernel.
Reimplemented in ClTemplateWriter.
Definition at line 68 of file IGpuKernelWriter.h.
|
pure virtual |
Generate execution window.
Implemented in ClTemplateWriter, and GpuCkwDriver.