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 200/300/500 Inference Product: 32-byte aligned

Atlas Training Series 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