---
title: aclrtGetSocName
description: 查询当前运行环境的芯片版本。同步接口。
url: "https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/23.0.RC2/Application%20Development%20Guide/aadgc/aclcppdevg_03_0024.html"
---

# aclrtGetSocName

#### 函数功能

查询当前运行环境的芯片版本。同步接口。


#### 函数原型

const char *aclrtGetSocName()


#### 参数说明

无


#### 返回值说明

返回芯片版本字符串的指针。如果通过该接口获取芯片版本失败，则返回空指针。
