Function: get_cann_attribute_list
C Prototype |
aclError aclGetCannAttributeList(const aclCannAttr **cannAttrList, size_t *num) |
|---|---|
Python Function |
cann_attr_list, num, ret = acl.get_cann_attribute_list() |
Function Usage |
Queries the list of features supported by the CANN software and the corresponding chip in the operating environment. |
Input Description |
None |
Return Value |
cann_attr_list: list, used to save the feature enumeration list supported by the operating environment. For details, see aclCannAttr. Users do not need to allocate memory in advance. When an application process exits, the memory is automatically released. num: int, used to store the number of supported features. The value must be the same as the length of the cann_attr_list list. ret: int, error code.
|
Restrictions |
None |
Parent topic: System Configuration