Function: get_cann_attribute
C Prototype |
aclError aclGetCannAttribute(aclCannAttr cannAttr, int32_t *value) |
|---|---|
Python Function |
value, ret = acl.get_cann_attribute(cann_attr) |
Function Usage |
Queries whether the operating environment supports the specified CANN feature. |
Input Description |
cann_attr: int, enumerated value of the feature list. One item can be specified for each query. For details, see aclCannAttr. |
Return Value |
value: int, indicates whether the function is supported.
ret: int, error code.
|
Restrictions |
None |
Parent topic: System Configuration