---
title: 预留接口
description: "本章接口为预留接口，后续有可能变更或废弃，不建议开发者使用，开发者无需关注。"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/API/aolapi/atlasascendc_api_07_1140.html
sourcePath: /source/zh/canncommercial/900/API/aolapi/atlasascendc_api_07_1140.html
indexId: 0ce55c6b316f02c3778c33c6dda5e5c3b8d6f6ef4277bd4b5fdaf8dd08179a8970
---
# 预留接口

本章接口为预留接口，后续有可能变更或废弃，不建议开发者使用，开发者无需关注。


**表1 接口列表**

| 接口定义 | 功能说明 |
| --- | --- |
| PlatformInfo() | PlatformInfo的构造函数。 |
| PlatformInfo(int32\_t deviceId) | PlatformInfo的构造函数。 |
| PlatformInfo(const PlatformInfo &other) | PlatformInfo拷贝构造函数。 |
| PlatformInfo(const PlatformInfo &&other) | PlatformInfo移动构造函数。 |
| SetPlatformImpl(PlatformInfoImpl \*impl) | 设置PlatformInfo的PlatformInfoImpl对象。 |
| GetDeviceId() | 从PlatformInfo中获取deviceId。 |
| CheckSupport(SocSpec socSpec, SocSpecAbility ability) | 从PlatformInfo中获取socSpec。 |
| GetCubeCoreNum() | 从PlatformInfo中获取cube核数。 |
| GetVectorCoreNum() | 从PlatformInfo中获取vector核数。 |
| Valid() | 判断PlatformInfo是否valid。 |
| GetPlatformInfos() | 获取NPU平台信息，包括AI处理器型号、参数等信息。 |
| ToString(SocVersion socVersion) | 将SocVersion转换为字符串。 |
| GetFftsPlusMode() | 判断是否支持ffts plus模式。 |
