Compute Library
 22.08
ClKernelCode Struct Reference

Contains kernel code to be compiled and run in a ClUnitWorkload. More...

#include <ClWorkload.h>

Collaboration diagram for ClKernelCode:
[legend]

Data Fields

std::string name {}
 Kernel name. More...
 
std::string code {}
 Kernel source code. More...
 
std::string config_id {}
 Generated from blueprint based on complex component. More...
 
CLBuildOptions build_options {}
 Kernel build options. More...
 
Window window {}
 Execution window. More...
 
ClKernelArgList arguments {}
 Kernel argument descriptors. More...
 

Friends

bool operator== (const ClKernelCode &code0, const ClKernelCode &code1)
 

Detailed Description

Contains kernel code to be compiled and run in a ClUnitWorkload.

Definition at line 100 of file ClWorkload.h.

Friends And Related Function Documentation

◆ operator==

bool operator== ( const ClKernelCode code0,
const ClKernelCode code1 
)
friend

Definition at line 102 of file ClWorkload.h.

103  {
104  return (code0.name == code1.name) && (code0.code == code1.code) && (code0.config_id == code1.config_id) && (code0.build_options == code1.build_options) && (code0.window == code1.window)
105  && (code0.arguments == code1.arguments);
106  }

Field Documentation

◆ arguments

ClKernelArgList arguments {}

Kernel argument descriptors.

map key is kernel ArgumentID

Definition at line 112 of file ClWorkload.h.

Referenced by arm_compute::experimental::dynamic_fusion::build(), and ClCompositeKernel::configure().

◆ build_options

◆ code

◆ config_id

std::string config_id {}

Generated from blueprint based on complex component.

Definition at line 109 of file ClWorkload.h.

Referenced by arm_compute::experimental::dynamic_fusion::build(), and ClCompositeKernel::configure().

◆ name

◆ window

Window window {}

Execution window.

Definition at line 111 of file ClWorkload.h.

Referenced by arm_compute::experimental::dynamic_fusion::build(), and ClCompositeKernel::configure().


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