aclGetCannAttribute
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Description
Queries whether the operating environment supports the specified CANN feature.
Prototype
aclError aclGetCannAttribute(aclCannAttr cannAttr, int32_t *value)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
cannAttr |
Input |
Enumerated value of the feature list. You can specify one item at a time. |
value |
Output |
Supported/Unsupported
|
Returns
0 on success; else, failure. For details, see aclError.
Parent topic: Other APIs