---
title: 函数：get_soc_name
description: "| C函数原型 | const char \\*aclrtGetSocName() |"
url: "https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/23.0.RC2/Application%20Development%20Guide/aadgp/aclpythondevg_01_0008.html"
---

# 函数：get_soc_name

| C函数原型 | const char \*aclrtGetSocName() |
| --- | --- |
| Python函数 | name = acl.get\_soc\_name() |
| 函数功能 | 查询当前运行环境的芯片版本，同步接口。 |
| 输入说明 | 无 |
| 返回值说明 | name：str，返回芯片版本字符串。如果通过该接口获取芯片版本失败，则返回None。 |
| 约束说明 | 无 |
