Skip to main content
Log in

Mojo function

tcgen05_alloc

tcgen05_alloc[cta_group: SIMD[int32, 1]](mut tmem: TensorMemory)

Allocates tensor memory for use with tcgen05 instructions.

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

Parameters:

  • cta_group (SIMD[int32, 1]): The cooperative thread array (CTA) group ID.

Args:

  • tmem (TensorMemory): TensorMemory struct to hold the allocation address and number of columns.