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

tcgen05_dealloc

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.