Skip to main content

Mojo function

prefetch_tma_descriptor

prefetch_tma_descriptor(desc_ptr: UnsafePointer[NoneType, mut=False])

Prefetches a TMA descriptor into the constant cache.

Issues a hardware prefetch instruction to bring the TMA descriptor into the constant cache, which can improve performance when the descriptor will be used soon.

Args:

  • desc_ptr (UnsafePointer): Pointer to the TMA descriptor to prefetch.

Was this page helpful?