aclrtCreateNotify
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Description
Creates a Notify object.
Prototype
aclError aclrtCreateNotify(aclrtNotify *notify, uint64_t flag)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
notify |
Output |
Pointer to the Notify. |
flag |
Input |
Flag of the Notify pointer. The flag can be set to the following macros:
|
Returns
0 on success; else, failure. For details, see aclError.
Restrictions
The number of Notify objects supported by different hardware models is different, as shown in the following table.
Model |
Max. Notify Objects for a Device |
|---|---|
8,192 |
|
2,048 |
|
1,024 |