Function: get_soc_name
Applicable Products
- Ascend 950PR&950DT products: Supported
- Atlas A3 products: Supported
- Atlas A2 products: Supported
- Atlas 200I/500 A2 inference products: Supported
- Atlas inference products: Supported
- Atlas training products: Supported
Function
Obtains the processor version of the current operating environment.
Prototype
-
C Prototype
const char *aclrtGetSocName() -
Python Function
name = acl.get_soc_name()
Parameters
None
Return Values
| Return Value | Description |
|---|---|
| name | Str, processor version. If the chip version fails to be obtained by calling this API, None is returned. |