Skip to main content

Mojo function

wait_vmcount

wait_vmcount[inflight_transfers: Int]()

Waits until vector memory count is less than or equal to inflight_transfers. VM_CNT gets decremented when data is returned to VGPRS, or memory writes have completed.

Parameters:

  • inflight_transfers (Int): The maximum number of transfers that should remain after the wait.

Was this page helpful?