aclrtGetSocName
Applicable Products
Product |
Supported |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function
Queries the AI processor version of the current operating environment.
Prototype
const char *aclrtGetSocName()
Parameters
None
Returns
Success: a pointer to the AI processor version string.
If the processor version fails to be obtained by calling this API, a null pointer is returned. If there are more than one device in the operating environment, the AI processor version name of device 0 is returned.
Parent topic: Device Management