Function: notify_batch_reset

Applicable Products

  • Ascend 950PR&950DT products: Supported
  • Atlas A3 products: Supported
  • Atlas A2 products: Supported
  • Atlas 200I/500 A2 inference products: Not supported
  • Atlas inference products: Not supported
  • Atlas training products: Not supported

Function

Resets Notify objects in batches.

Prototype

  • C Prototype

    aclError aclrtNotifyBatchReset(aclrtNotify *notifies, size_t num)
    
  • Python Function

    ret = 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 Values

Return Value Description
ret Int. If 0 is returned, the operation is successful. If other values are returned, the operation fails.

Constraints

This operation is not supported in the Ascend virtual instance scenario.