AI Engine Intrinsics User Guide  (v2023.2)
 All Data Structures Namespaces Functions Variables Typedefs Groups Pages
Data Types

Summary of the vector and accumulator registers. More...

Overview

Summary of the vector and accumulator registers.

The two main data types offered by the AIE cores are vector and accumulator registers.

Vector data-types pack multiple scalar data elements into a wider vector. There are vector data-types with standard sized elements (8-bit, 16-bit, 32-bit, 64-bit). The total data-width of the vector data-types can be 128-bits, 256-bits, 512-bits, or 1024-bits. A summary of the scalar types and the number of lanes supported is described in the following table. Please refer to Vector Data-types for more details.

Supported vector types and sizes
Scalar typeSupported vector lanes
int8/uint816/32/64/128
int16/uint16/cint88/16/32/64
int32/uint32/cint164/8/16/32
int64/uint64/cint322/4/8/16
int128/uint128/cint641/2/4/8
cint1281/2/4
float4/8/16/32
cfloat2/4/8/16

Accumulator data-types are stored in the accumulator registers within the AI Engine. The total data-width of the accumulator data-types can be 320/384-bits or 640/768-bits. A summary of the scalar types and the number of lanes supported is described in the following table. Please refer to Accumulator Types for more details.

Supported accumulator types and sizes
Scalar typeSupported vector lanes
acc488/16
cacc484/8
acc804/8
cacc802/4

Modules

 Scalar Data-types
 All the standard C scalar data-types are supported.
 
 Vector Data-types