Compute Library
ClKernelTensor Struct Reference

#include <ClKernelGraph.h>

Collaboration diagram for ClKernelTensor:

Public Types

using Id = DependencyGraph::Id

Public Member Functions

 ClKernelTensor ()=default
 ClKernelTensor (Id id, ITensorInfo *desc, MemoryType memory_type, const AuxMemoryInfo &memory_info)
bool operator== (const ClKernelTensor &other) const

Data Fields

Id id {}
ITensorInfodesc {}
MemoryType memory_type {}
AuxMemoryInfo memory_info {}

Detailed Description

Definition at line 65 of file ClKernelGraph.h.

Member Typedef Documentation

◆ Id

Definition at line 68 of file ClKernelGraph.h.

Constructor & Destructor Documentation

◆ ClKernelTensor() [1/2]

ClKernelTensor ( )

◆ ClKernelTensor() [2/2]

ClKernelTensor ( Id  id,
ITensorInfo desc,
MemoryType  memory_type,
const AuxMemoryInfo memory_info 

Member Function Documentation

◆ operator==()

bool operator== ( const ClKernelTensor other) const

Definition at line 74 of file ClKernelGraph.h.

References ClKernelTensor::desc.

75  {
76  return desc == other.desc;
77  }

Field Documentation

◆ desc

ITensorInfo* desc {}

Definition at line 80 of file ClKernelGraph.h.

Referenced by ClKernelTensor::operator==().

◆ id

Id id {}

Definition at line 79 of file ClKernelGraph.h.

◆ memory_info

AuxMemoryInfo memory_info {}

Definition at line 82 of file ClKernelGraph.h.

◆ memory_type

MemoryType memory_type {}

Definition at line 81 of file ClKernelGraph.h.

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