Function: notify_batch_reset
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
x |
|
x |
|
x |
Description
Resets Notify instances in batches.
Prototype
- C Prototype
aclError aclrtNotifyBatchReset(aclrtNotify *notifies, size_t num)
- Python Function
1ret = acl.rt.notify_batch_reset(notifies)
Parameters
Parameter |
Description |
|---|---|
notifies |
List, list of Notify pointer addresses. Definition: notifies=[notify_1, notify_2,...] The Notify pointer address elements in the list are obtained by calling acl.rt.create_notify. |
Return Value
Return Value |
Description |
|---|---|
ret |
Int, 0 on success; else, failure. |
Restrictions
This operation is not supported in the Ascend virtual instance scenario.
Parent topic: Notify Management