SetMaskCount
Applicability
Product |
Supported/Unsupported |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
x |
|
x |
Function Usage
Sets mask to counter mode. In this mode, you do not need to perceive the number of repeats or process unaligned tail blocks. You can directly pass in the amount of data to be computed. The actual number of repeats is automatically inferred by the Vector Unit.
Prototype
1 | __aicore__ inline void SetMaskCount() |
Parameters
None
Return Value Description
None
Constraints
In counter mode, you need to call SetMaskNorm to restore the mask mode to the normal mode after the vector computation is complete.
Examples
For details, see Calling examples (counter mode).
Parent topic: Mask Operations