Obtains the SoC version of the operating environment. This API is synchronous.
const char *aclrtGetSocName()
None
Success: pointer to the SoC version string. Failure: a null pointer.
Ascend 310 AI Processor: The SoC version is Ascend310.
Ascend 310P AI Processor: The SoC version is Ascend310P*. The asterisk (*) may be empty or a value that varies according to factors such as the performance improvement level and core usage level of the SoC.
Ascend 910 AI Processor: The SoC version is Ascend910*. The asterisk (*) may be empty or a value that varies according to factors such as the performance improvement level and core usage level of the SoC.