Compute Library
 22.08
ClWorkloadContext Struct Reference

Context (device capabilities, platform details) associated with a ClWorkload. More...

#include <ClWorkload.h>

Collaboration diagram for ClWorkloadContext:
[legend]

Data Fields

GpuInfo gpu_info {}
 

Friends

bool operator== (const ClWorkloadContext &ctx0, const ClWorkloadContext &ctx1)
 

Detailed Description

Context (device capabilities, platform details) associated with a ClWorkload.

It is required for building the ClKernelCode and could also be used by the runtime (e.g. schedulers)

Examples:
dynamic_fusion/cl_fused_conv2d_elementwise_add.cpp.

Definition at line 162 of file ClWorkload.h.

Friends And Related Function Documentation

◆ operator==

bool operator== ( const ClWorkloadContext ctx0,
const ClWorkloadContext ctx1 
)
friend

Definition at line 164 of file ClWorkload.h.

165  {
166  return ctx0.gpu_info == ctx1.gpu_info;
167  }

Field Documentation

◆ gpu_info

GpuInfo gpu_info {}

Definition at line 168 of file ClWorkload.h.

Referenced by arm_compute::experimental::dynamic_fusion::generate().


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