IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).

Mojo function

tcgen05_dealloc

def tcgen05_dealloc[cta_group: Int32](tmem_addr: UInt32, num_cols: UInt32)

Deallocates tensor memory allocated by tcgen05_alloc().

This function deallocates tensor memory that was previously allocated using tcgen05_alloc(). The deallocation must be performed by the same CTA group that performed the allocation.

Parameters:

  • โ€‹cta_group (Int32): The cooperative thread array (CTA) group ID.

Args:

  • โ€‹tmem_addr (UInt32): Address of the tensor memory to deallocate.
  • โ€‹num_cols (UInt32): Number of columns in the tensor memory.