Skip to main content

Mojo function

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.

Was this page helpful?