Compute Library
 22.08
ClWorkloadTensor Struct Reference

A descriptor of ClWorkload Tensors. More...

#include <ClWorkload.h>

Collaboration diagram for ClWorkloadTensor:
[legend]

Public Member Functions

 ClWorkloadTensor ()=default
 
 ClWorkloadTensor (Id id, ITensorInfo *info, MemoryType memory_type, const AuxMemoryInfo &memory_info, const ClKernelArgDescriptor &kernel_arg)
 

Data Fields

ClKernelArgDescriptor kernel_arg {}
 
- Data Fields inherited from WorkloadTensor
Id id {}
 Id of the workload tensor. More...
 
ITensorInfoinfo {}
 TensorInfo associated with the workload tensor. More...
 
MemoryType memory_type {}
 Memory type. More...
 
AuxMemoryInfo memory_info {}
 Auxiliary memory information. More...
 

Friends

bool operator== (const ClWorkloadTensor &t0, const ClWorkloadTensor &t1)
 

Additional Inherited Members

- Public Types inherited from WorkloadTensor
using Id = DependencyGraph::Id
 

Detailed Description

A descriptor of ClWorkload Tensors.

Definition at line 117 of file ClWorkload.h.

Constructor & Destructor Documentation

◆ ClWorkloadTensor() [1/2]

ClWorkloadTensor ( )
default

◆ ClWorkloadTensor() [2/2]

ClWorkloadTensor ( Id  id,
ITensorInfo info,
MemoryType  memory_type,
const AuxMemoryInfo memory_info,
const ClKernelArgDescriptor kernel_arg 
)
inline

Definition at line 120 of file ClWorkload.h.

References arm_compute::test::validation::info.

121  : WorkloadTensor{ id, info, memory_type, memory_info }, kernel_arg{ kernel_arg }
122  {
123  }
ITensorInfo * info
TensorInfo associated with the workload tensor.
Definition: IWorkload.h:102
AuxMemoryInfo memory_info
Auxiliary memory information.
Definition: IWorkload.h:104

Friends And Related Function Documentation

◆ operator==

bool operator== ( const ClWorkloadTensor t0,
const ClWorkloadTensor t1 
)
friend

Definition at line 125 of file ClWorkload.h.

126  {
127  return t0.info == t1.info && t0.memory_info == t1.memory_info && t0.memory_type == t1.memory_type && t0.kernel_arg == t1.kernel_arg;
128  }

Field Documentation

◆ kernel_arg

ClKernelArgDescriptor kernel_arg {}

Definition at line 124 of file ClWorkload.h.


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