24.02.1
|
#include <stddef.h>
#include <stdint.h>
Go to the source code of this file.
|
enum | AclStatus : int32_t {
AclSuccess = 0,
AclRuntimeError = 1,
AclOutOfMemory = 2,
AclUnimplemented = 3,
AclUnsupportedTarget = 4,
AclInvalidTarget = 5,
AclInvalidArgument = 6,
AclUnsupportedConfig = 7,
AclInvalidObjectState = 8
} |
|
enum | AclTarget { AclCpu = 0,
AclGpuOcl = 1
} |
|
enum | AclExecutionMode { AclPreferFastRerun = 0,
AclPreferFastStart = 1
} |
| Execution mode types. More...
|
|
enum | AclCpuCapabilities {
AclCpuCapabilitiesAuto = 0,
AclCpuCapabilitiesNeon = (1 << 0),
AclCpuCapabilitiesSve = (1 << 1),
AclCpuCapabilitiesSve2 = (1 << 2),
AclCpuCapabilitiesFp16 = (1 << 7),
AclCpuCapabilitiesBf16 = (1 << 8),
AclCpuCapabilitiesDot = (1 << 13),
AclCpuCapabilitiesMmlaInt8 = (1 << 14),
AclCpuCapabilitiesMmlaFp = (1 << 15),
AclCpuCapabilitiesAll = ~0
} |
| Available CPU capabilities. More...
|
|
enum | AclTuningMode { AclTuningModeNone = 0,
AclRapid = 1,
AclNormal = 2,
AclExhaustive = 3
} |
|
enum | AclDataType {
AclDataTypeUnknown = 0,
AclUInt8 = 1,
AclInt8 = 2,
AclUInt16 = 3,
AclInt16 = 4,
AclUint32 = 5,
AclInt32 = 6,
AclFloat16 = 7,
AclBFloat16 = 8,
AclFloat32 = 9
} |
|
enum | AclDataLayout { AclDataLayoutUnknown = 0,
AclNhwc = 1,
AclNchw = 2
} |
|
enum | AclImportMemoryType { AclHostPtr = 0
} |
| Type of memory to be imported. More...
|
|
enum | AclTensorSlot {
AclSlotUnknown = -1,
AclSrc = 0,
AclSrc0 = 0,
AclSrc1 = 1,
AclDst = 30,
AclSrcVec = 256
} |
|
◆ AclAllocator
◆ AclContext
< Opaque Context object
Opaque Queue object
Definition at line 36 of file AclTypes.h.
◆ AclContextOptions
◆ AclCpuCapabilities
Available CPU capabilities.
Allocator interface that can be passed to a context
◆ AclDataLayout
◆ AclDataType
Supported data layouts for operations.
◆ AclExecutionMode
◆ AclImportMemoryType
Type of memory to be imported.
Tensor Descriptor
◆ AclOperator
◆ AclQueue
Opaque Tensor object.
Definition at line 38 of file AclTypes.h.
◆ AclStatus
◆ AclTarget
◆ AclTargetCapabilities
Error codes returned by the public entry-points.
Definition at line 47 of file AclTypes.h.
◆ AclTensor
Opaque Tensor pack object.
Definition at line 40 of file AclTypes.h.
◆ AclTensorDescriptor
◆ AclTensorPack
Opaque Operator object.
Definition at line 42 of file AclTypes.h.
◆ AclCpuCapabilities
Available CPU capabilities.
Enumerator |
---|
AclCpuCapabilitiesAuto | Automatic discovery of capabilities.
|
AclCpuCapabilitiesNeon | Enable NEON optimized paths.
|
AclCpuCapabilitiesSve | Enable SVE optimized paths.
|
AclCpuCapabilitiesSve2 | Enable SVE2 optimized paths.
|
AclCpuCapabilitiesFp16 | Enable float16 data-type support.
|
AclCpuCapabilitiesBf16 | Enable bfloat16 data-type support.
|
AclCpuCapabilitiesDot | Enable paths that use the udot/sdot instructions.
|
AclCpuCapabilitiesMmlaInt8 | Enable paths that use the mmla integer instructions.
|
AclCpuCapabilitiesMmlaFp | Enable paths that use the mmla float instructions.
|
AclCpuCapabilitiesAll | Enable all paths.
|
Definition at line 78 of file AclTypes.h.
◆ AclDataLayout
Enumerator |
---|
AclDataLayoutUnknown | Unknown data layout.
|
AclNhwc | Native, performant, Compute Library data layout.
|
AclNchw | Data layout where width is the fastest changing dimension.
|
Definition at line 178 of file AclTypes.h.
◆ AclDataType
Enumerator |
---|
AclDataTypeUnknown | Unknown data type.
|
AclUInt8 | 8-bit unsigned integer
|
AclInt8 | 8-bit signed integer
|
AclUInt16 | 16-bit unsigned integer
|
AclInt16 | 16-bit signed integer
|
AclUint32 | 32-bit unsigned integer
|
AclInt32 | 32-bit signed integer
|
AclFloat16 | 16-bit floating point
|
AclBFloat16 | 16-bit brain floating point
|
AclFloat32 | 32-bit floating point
|
Definition at line 163 of file AclTypes.h.
◆ AclExecutionMode
Execution mode types.
Enumerator |
---|
AclPreferFastRerun | Prioritize performance when multiple iterations are performed.
|
AclPreferFastStart | Prioritize performance when a single iterations is expected to be performed.
|
Definition at line 71 of file AclTypes.h.
◆ AclImportMemoryType
Type of memory to be imported.
Enumerator |
---|
AclHostPtr | Host allocated memory.
|
Definition at line 186 of file AclTypes.h.
◆ AclStatus
Enumerator |
---|
AclSuccess | Call succeeded, leading to valid state for all involved objects/data.
|
AclRuntimeError | Call failed during execution.
|
AclOutOfMemory | Call failed due to failure to allocate resources.
|
AclUnimplemented | Call failed as requested capability is not implemented.
|
AclUnsupportedTarget | Call failed as an invalid backend was requested.
|
AclInvalidTarget | Call failed as invalid argument was passed.
|
AclInvalidArgument | Call failed as invalid argument was passed.
|
AclUnsupportedConfig | Call failed as configuration is unsupported.
|
AclInvalidObjectState | Call failed as an object has invalid state.
|
Definition at line 50 of file AclTypes.h.
◆ AclTarget
Enumerator |
---|
AclCpu | Cpu target that uses SIMD extensions.
|
AclGpuOcl | OpenCL target for GPU.
|
Definition at line 64 of file AclTypes.h.
◆ AclTensorSlot
Enumerator |
---|
AclSlotUnknown | |
AclSrc | |
AclSrc0 | |
AclSrc1 | |
AclDst | |
AclSrcVec | |
Definition at line 202 of file AclTypes.h.
◆ AclTuningMode
Enumerator |
---|
AclTuningModeNone | No tuning.
|
AclRapid | Fast tuning mode, testing a small portion of the tuning space.
|
AclNormal | Normal tuning mode, gives a good balance between tuning mode and performance.
|
AclExhaustive | Exhaustive tuning mode, increased tuning time but with best results.
|
Definition at line 147 of file AclTypes.h.
@ AclUnsupportedTarget
Call failed as an invalid backend was requested.
@ AclCpu
Cpu target that uses SIMD extensions.
@ AclDataTypeUnknown
Unknown data type.
@ AclExhaustive
Exhaustive tuning mode, increased tuning time but with best results.
@ AclHostPtr
Host allocated memory.
@ AclUInt16
16-bit unsigned integer
@ AclDataLayoutUnknown
Unknown data layout.
@ AclCpuCapabilitiesMmlaFp
Enable paths that use the mmla float instructions.
@ AclCpuCapabilitiesDot
Enable paths that use the udot/sdot instructions.
@ AclSuccess
Call succeeded, leading to valid state for all involved objects/data.
@ AclPreferFastStart
Prioritize performance when a single iterations is expected to be performed.
@ AclUnsupportedConfig
Call failed as configuration is unsupported.
@ AclCpuCapabilitiesSve2
Enable SVE2 optimized paths.
@ AclInvalidObjectState
Call failed as an object has invalid state.
@ AclCpuCapabilitiesMmlaInt8
Enable paths that use the mmla integer instructions.
@ AclRapid
Fast tuning mode, testing a small portion of the tuning space.
@ AclOutOfMemory
Call failed due to failure to allocate resources.
@ AclInt32
32-bit signed integer
@ AclInvalidTarget
Call failed as invalid argument was passed.
@ AclFloat16
16-bit floating point
@ AclCpuCapabilitiesFp16
Enable float16 data-type support.
@ AclUInt8
8-bit unsigned integer
@ AclCpuCapabilitiesBf16
Enable bfloat16 data-type support.
@ AclPreferFastRerun
Prioritize performance when multiple iterations are performed.
AclImportMemoryType
Type of memory to be imported.
@ AclCpuCapabilitiesAuto
Automatic discovery of capabilities.
@ AclNhwc
Native, performant, Compute Library data layout.
@ AclFloat32
32-bit floating point
@ AclRuntimeError
Call failed during execution.
@ AclInt8
8-bit signed integer
@ AclBFloat16
16-bit brain floating point
AclExecutionMode
Execution mode types.
@ AclTuningModeNone
No tuning.
@ AclInvalidArgument
Call failed as invalid argument was passed.
@ AclGpuOcl
OpenCL target for GPU.
@ AclCpuCapabilitiesAll
Enable all paths.
@ AclNormal
Normal tuning mode, gives a good balance between tuning mode and performance.
@ AclCpuCapabilitiesSve
Enable SVE optimized paths.
AclCpuCapabilities
Available CPU capabilities.
@ AclUint32
32-bit unsigned integer
@ AclInt16
16-bit signed integer
@ AclUnimplemented
Call failed as requested capability is not implemented.
@ AclNchw
Data layout where width is the fastest changing dimension.
@ AclCpuCapabilitiesNeon
Enable NEON optimized paths.