Function: get_notify_id

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

Atlas inference product

Atlas 200I/500 A2 inference product

Function

Obtains the ID of a specified Notify.

Prototype

  • C Prototype
    aclError aclrtGetNotifyId(aclrtNotify notify, uint32_t *notifyId)
  • Python Function
    1
    notify_id, ret = acl.rt.get_notify_id(notify)
    

Parameters

Parameter

Description

notify

Int, pointer address of the Notify to be queried.

Return Value

Returned Value

Description

notify_id

Int, Notify ID.

ret

Int, 0 on success; else, failure.