Function: create_notify

Applicability

Product

Supported (√/x)

Atlas A3 training products/Atlas A3 inference products

Atlas A2 training products/Atlas A2 inference products

Atlas training products

Atlas inference products

Atlas 200I/500 A2 inference products

Function Usage

Creates a Notify.

Prototype

  • C Prototype
    aclError aclrtCreateNotify(aclrtNotify *notify, uint64_t flag)
  • Python Function
    1
    notify, ret = acl.rt.create_notify(flag)
    

Parameter Description

Parameter

Description

flag

Int, reserved parameter. The value is fixed at 0.

Return Value Description

Return Value

Description

notify

Int, pointer address of Notify.

ret

Int, 0 on success; else, failure.

Restrictions

The number of Notifys supported by different hardware models is different, as shown in the following table.

Model

Max. Notify Count for a Device

Atlas A3 training products/Atlas A3 inference products

Atlas A2 training products/Atlas A2 inference products

8192

Atlas 200I/500 A2 inference products

2048

Atlas inference products

Atlas training products

1024