AI Engine-ML Intrinsics User Guide (v2024.2)
Loading...
Searching...
No Matches
Accumulator Data Types

Overview

Accumulator data-types pack multiple scalar data elements into a wider vector. There are vector data-types with standard sized elements (32-bit, 64-bit).

The general naming convention for these data-types is shown below.

    v{NumLanes}[c]acc{SizeofElement}
    v{NumLanes}accfloat

Disambiguation :

For example, v16acc32, v8acc32, v32accfloat

The total data-width of the accumulator data-types can be 256-bits, 512-bits or 1024-bits.

Note
Accumulator data-types are stored in different sets of registers within the processor core. Large accumulators (>256-bits) occupy more than one physical register. Register spills will reduce performance when more than one large register is 'live'.
Supported accumulator types and sizes
Scalar typeSupported accumulator lanesNumber of accumulator lanes for ADF cascade stream API
acc328/16/3216/32
acc644/8/168/16
cacc642/4/84/8
caccfloat4/8/168
accfloat8/16/3216

Modules

 Complex Accumulator Types
 
 Floating-Point Accumulator Types
 
 Integer Accumulator Types