General Restrictions

For user-defined tensors, the start address of the allocated buffer scope will be aligned according to Table 1.

To call the TIK APIs for data compute and transfer, the destination and source operands must meet the address offset alignment restrictions specified in Table 1. The restrictions specified by each TIK API apply in the case of restriction inconsistency.
Table 1 Alignment restrictions for different scopes

Scope

Alignment Requirement

Unified Buffer

Atlas training product: 32-byte aligned

Atlas inference product AI Core: 32-byte aligned

Atlas inference product Vector Core: 32-byte aligned

Atlas A2 training product/Atlas A2 inference product: 32-byte aligned

Atlas 200I/500 A2 inference product: 32-byte aligned

L1 Buffer

512-byte aligned

L1OUT Buffer

512-byte aligned for float16; 1024-byte aligned for float32, int32, and uint32

Global Memory

No alignment requirement