nki.compiler.sbuf.auto_alloc#
- nki.compiler.sbuf.auto_alloc()[source]#
- Returns a maker to indicate the tensor should be automatically allocated by compiler. All SBUF tensors in a kernel must either all be marked as - auto_alloc(), or all be allocated with- allocor- mod_alloc.- Initialize a tensor with - buffer=nl.sbufis equivalent to- buffer=ncc.sbuf.auto_alloc().
