This document is relevant for: Inf2
, Trn1
, Trn2
nki.compiler#
Allocation Control#
Allocate SBUF memory space for each logical block in a tensor using a customized allocation method. |
|
Allocate SBUF memory space for each logical tile in a tensor through modulo allocation. |
|
Returns a maker to indicate the tensor should be automatically allocated by compiler. |
|
Allocate PSUM memory space for each logical block in a tensor using a customized allocation method. |
|
Allocate PSUM memory space for each logical block in a tensor through modulo allocation. |
|
Returns a maker to indicate the tensor should be automatically allocated by compiler. |
Kernel Decorators#
Skip all middle end transformations on the kernel |
|
Use stack allocator to allocate the psum and sbuf tensors in the kernel. |
|
Force automatic allocation to be turned on in the kernel. |
This document is relevant for: Inf2
, Trn1
, Trn2