aclGetCannAttribute
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Description
Queries whether the operating environment supports the specified CANN feature.
Prototype
1 | aclError aclGetCannAttribute(aclCannAttr cannAttr, int32_t *value) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
cannAttr |
Input |
Enumerated value from the feature list. You can specify one item at a time. For details about the type definition, see aclCannAttr. |
value |
Output |
Supported or not:
|
Returns
0 on success; otherwise, failure. For details, see aclError.
Parent topic: Other APIs