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: Nightly
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_alloc

tcgen05_alloc[cta_group: Int32](ptr_tmem_addr: UnsafePointer[UInt32, address_space=AddressSpace.SHARED], num_cols: UInt32)

Allocates tensor memory for use with tcgen05 instructions.

Note: This function is only available on NVIDIA Blackwell GPUs (SM 100+).

Parameters:

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

Args: