Used together with (associated through flagID) to send a synchronization signal to the inter-core synchronization register, indicating that the current pipeline has reached the synchronization point corresponding to flagID. Each flagID corresponds to a counter with an initial value of 0. After executing asc_sync_block_arrive, the counter corresponding to flagID is incremented by 1. When executing asc_sync_block_wait, if the corresponding counter value is 0, it blocks and does not execute. If the corresponding counter is greater than 0, the counter is decremented by 1, and subsequent instructions begin execution.
[object Object]
None
PIPE_S
- When using this synchronization interface, the Kernel type must be set according to the following rules:
- In a pure Vector/Cube scenario, set the Kernel type to KERNEL_TYPE_MIX_AIV_1_0 or KERNEL_TYPE_MIX_AIC_1_0.
- For a mixed Vector and Cube scenario, configure the Kernel type flexibly according to the actual situation.
- It is not recommended that developers use this interface and Matmul high-level API at the same time, otherwise there is a risk of flagID conflict.
- The counter for the same flagID can be set at most 15 times.
[object Object]