Function: create_notify
Applicability
Product |
Supported (√/x) |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function Usage
Creates a Notify.
Prototype
- C Prototype
aclError aclrtCreateNotify(aclrtNotify *notify, uint64_t flag)
- Python Function
1notify, 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 |
|---|---|
8192 |
|
2048 |
|
1024 |
Parent topic: Notify Management