IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
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

mhc_post_non_temporal

def mhc_post_non_temporal(num_rows: Int, num_cus: Int) -> Bool

Returns whether mhc_post marks its accesses non-temporal.

On MI355X non-temporal accesses win from one token per CU up (17% at 256 tokens, 12% at 16384); NVIDIA is unmeasured and keeps 8 per SM.

Args:

  • ​num_rows (Int): Number of tokens.
  • ​num_cus (Int): Compute units (SMs) on the device.

Returns:

Bool: True to mark the loads and stores non-temporal.

Was this page helpful?