Function: notify_batch_reset

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas training product

x

Atlas inference product

x

Atlas 200I/500 A2 inference product

x

Description

Resets Notify instances in batches.

Prototype

  • C Prototype
    aclError aclrtNotifyBatchReset(aclrtNotify *notifies, size_t num)
  • Python Function
    1
    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 Value

Return Value

Description

ret

Int, 0 on success; else, failure.

Restrictions

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