aclrtCntNotifyCreate
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
☓ |
|
☓ |
|
☓ |
|
☓ |
|
☓ |
Description
Creates a CntNotify object.
CntNotify is also used for communication and notifications between devices. However, CntNotify uses the count for synchronization between tasks. The difference between Notify and CntNotify is that the count of Notify supports only 1, while the count of CntNotify is in the range [1 to the maximum value of uint32_t].
Prototype
1 | aclError aclrtCntNotifyCreate(aclrtCntNotify *cntNotify, uint64_t flag) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
cntNotify |
Output |
Pointer to the CntNotify. For details about the type definition, see aclrtCntNotify. |
flag |
Input |
Reserved. The value is fixed at 0. |
Returns
0 on success; else, failure. For details, see aclError.