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
tensor_store_from_lds
def tensor_store_from_lds[cache_policy: Int = Int(0)](desc: TDMDescriptor)
Issues a TDM LDS-to-global copy described by desc.
The LDS side is read as a dense stream, so the descriptor's padding fields
are ignored by stores. Completion is tracked by the wave's TENSORcnt
counter, not by the vector-store STOREcnt counter; pair it with
s_wait_tensorcnt.
Constraints:
Requires CDNA5 (gfx1250) or newer, and cache_policy must be in 0..31.
Parameters:
- cache_policy (
Int): 5-bit immediate, three temporal-hint bits followed by two scope bits (defaults to 0, the default policy).
Args:
- desc (
TDMDescriptor): The descriptor to issue. It must be wave-uniform, i.e. live in scalar (SGPR) registers.