Compute Library
 22.11
acl Namespace Reference

Namespaces

 detail
 

Data Structures

class  Activation
 
class  Context
 Context classAvailable tuning modes. More...
 
class  Operator
 Operator class. More...
 
class  Queue
 Queue classData type enumeration. More...
 
class  Tensor
 Tensor class. More...
 
class  TensorDescriptor
 Tensor Descriptor class. More...
 
class  TensorPack
 Tensor pack class. More...
 

Typedefs

using ActivationDesc = AclActivationDescriptor
 Operators. More...
 

Enumerations

enum  StatusCode {
  Success = AclSuccess, RuntimeError = AclRuntimeError, OutOfMemory = AclOutOfMemory, Unimplemented = AclUnimplemented,
  UnsupportedTarget = AclUnsupportedTarget, InvalidArgument = AclInvalidArgument, InvalidTarget = AclInvalidTarget, UnsupportedConfig = AclUnsupportedConfig,
  InvalidObjectState = AclInvalidObjectState
}
 Status code enum. More...
 
enum  Target { Cpu = AclCpu, GpuOcl = AclGpuOcl }
 < Target enum More...
 
enum  ExecutionMode { FastRerun = AclPreferFastRerun, FastStart = AclPreferFastStart }
 
enum  TuningMode { Rapid = AclRapid, Normal = AclNormal, Exhaustive = AclExhaustive }
 
enum  DataType {
  Unknown = AclDataTypeUnknown, UInt8 = AclUInt8, Int8 = AclInt8, UInt16 = AclUInt16,
  Int16 = AclInt16, UInt32 = AclUint32, Int32 = AclInt32, Float16 = AclFloat16,
  BFloat16 = AclBFloat16, Float32 = AclFloat32
}
 
enum  ImportType { Host = AclImportMemoryType::AclHostPtr }
 Import memory types. More...
 

Typedef Documentation

◆ ActivationDesc

Operators.

Definition at line 779 of file Acl.hpp.

Enumeration Type Documentation

◆ DataType

enum DataType
strong
Enumerator
Unknown 
UInt8 
Int8 
UInt16 
Int16 
UInt32 
Int32 
Float16 
BFloat16 
Float32 

Definition at line 485 of file Acl.hpp.

486 {
488  UInt8 = AclUInt8,
489  Int8 = AclInt8,
490  UInt16 = AclUInt16,
491  Int16 = AclInt16,
492  UInt32 = AclUint32,
493  Int32 = AclInt32,
497 };
32-bit floating point
Definition: AclTypes.h:173
32-bit signed integer
Definition: AclTypes.h:170
Unknown data type.
Definition: AclTypes.h:164
16-bit signed integer
Definition: AclTypes.h:168
16-bit unsigned integer
Definition: AclTypes.h:167
32-bit unsigned integer
Definition: AclTypes.h:169
8-bit signed integer
Definition: AclTypes.h:166
16-bit brain floating point
Definition: AclTypes.h:172
16-bit floating point
Definition: AclTypes.h:171
8-bit unsigned integer
Definition: AclTypes.h:165

◆ ExecutionMode

enum ExecutionMode
strong
Enumerator
FastRerun 

Prefer minimum latency in consecutive runs, might introduce higher startup times.

FastStart 

Prefer minimizing startup time.

Definition at line 300 of file Acl.hpp.

301 {
302  FastRerun = AclPreferFastRerun, /**< Prefer minimum latency in consecutive runs, might introduce higher startup times */
303  FastStart = AclPreferFastStart, /**< Prefer minimizing startup time */
304 };
Prioritize performance when a single iterations is expected to be performed.
Definition: AclTypes.h:73
Prefer minimum latency in consecutive runs, might introduce higher startup times. ...
Prefer minimizing startup time.
Prioritize performance when multiple iterations are performed.
Definition: AclTypes.h:72

◆ ImportType

enum ImportType
strong

Import memory types.

Enumerator
Host 

Definition at line 573 of file Acl.hpp.

574 {
576 };
Host allocated memory.
Definition: AclTypes.h:187

◆ StatusCode

enum StatusCode
strong

Status code enum.

Enumerator
Success 
RuntimeError 
OutOfMemory 
Unimplemented 
UnsupportedTarget 
InvalidArgument 
InvalidTarget 
UnsupportedConfig 
InvalidObjectState 

Definition at line 50 of file Acl.hpp.

51 {
61 };
Call failed during execution.
Definition: AclTypes.h:52
Call failed as invalid argument was passed.
Definition: AclTypes.h:56
Call failed as invalid argument was passed.
Definition: AclTypes.h:57
Call failed as an invalid backend was requested.
Definition: AclTypes.h:55
Call failed as configuration is unsupported.
Definition: AclTypes.h:58
Call succeeded, leading to valid state for all involved objects/data.
Definition: AclTypes.h:51
Call failed as requested capability is not implemented.
Definition: AclTypes.h:54
Call failed due to failure to allocate resources.
Definition: AclTypes.h:53
Call failed as an object has invalid state.
Definition: AclTypes.h:59

◆ Target

enum Target
strong

< Target enum

Enumerator
Cpu 

Cpu target that leverages SIMD.

GpuOcl 

Gpu target that leverages OpenCL.

Definition at line 293 of file Acl.hpp.

294 {
295  Cpu = AclCpu, /**< Cpu target that leverages SIMD */
296  GpuOcl = AclGpuOcl /**< Gpu target that leverages OpenCL */
297 };
OpenCL target for GPU.
Definition: AclTypes.h:66
Cpu target that uses SIMD extensions.
Definition: AclTypes.h:65
Cpu target that leverages SIMD.
Gpu target that leverages OpenCL.

◆ TuningMode

enum TuningMode
strong
Enumerator
Rapid 
Normal 
Exhaustive 

Definition at line 399 of file Acl.hpp.

400 {
401  Rapid = AclRapid,
402  Normal = AclNormal,
404 };
Normal tuning mode, gives a good balance between tuning mode and performance.
Definition: AclTypes.h:150
Fast tuning mode, testing a small portion of the tuning space.
Definition: AclTypes.h:149
Exhaustive tuning mode, increased tuning time but with best results.
Definition: AclTypes.h:151