QueueBarrier
Applicability
Product |
Supported |
|---|---|
√ |
|
x |
|
x |
|
x |
|
x |
|
x |
Function
Blocks the BatchWrite communication tasks in the specified queue on the server until tasks in all queues in the specified range are completed, thereby synchronizing the queues in the specified range.
Prototype
1 2 | template <ScopeType type = ScopeType::ALL> __aicore__ inline void QueueBarrier(uint16_t queueID) |
Parameters
Parameter |
Input/Output |
Description |
||
|---|---|---|---|---|
type |
Input |
Indicates the range of communication tasks that block the server. The type is ScopeType. The default value is ScopeType::ALL. Currently, this parameter can only be set to ScopeType::ALL. ScopeType is defined as follows:
|
Parameter |
Input/Output |
Description |
|---|---|---|
queueID |
Input |
Indicates the queue ID. |
Returns
None
Restrictions
None