Asynchronous Scenario Processing

Overview

The Iterate and IterateAll APIs of Matmul provide synchronous and asynchronous modes in the MIX scenario (including matrix computation and vector computation). In the CUBE_ONLY scenario (including matrix computation only), only the synchronous mode is supported.

In synchronous mode, the next operation can be performed only after the preceding operation finishes. In asynchronous mode, the next operation can be performed without waiting for the preceding operation to finish.

Application Scenarios

Constraints

Example