---
title: 头文件和库文件说明
description: "在AI算子、算法和应用开发方面，CANN向用户开放编程接口，并提供配套的文档说明，这些接口统称为开放接口。开放接口的兼容性将在CANN软件版本演进中得到保障，如有废弃或影响用户的变更，将在版本说明中提前预告。通常，这些接口放置在安装环境的include目录下。"
url: https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/latest/API/ascendtb/ascendtb_01_0256.html
sourcePath: /source/zh/CANNCommunityEdition/920beta1/API/headerliblist/hfandlf_09_0001.html
indexId: edeb0d57e67f58baa6fc3770155b557bae8380ef427e9fb91b71eeae81890b7c79
---
# 头文件和库文件说明

在AI算子、算法和应用开发方面，CANN向用户开放编程接口，并提供配套的文档说明，这些接口统称为开放接口。开放接口的兼容性将在CANN软件版本演进中得到保障，如有废弃或影响用户的变更，将在版本说明中提前预告。通常，这些接口放置在安装环境的include目录下。

与许多大型软件平台相似，CANN包含多个相互协作的部件，以实现其完整功能。CANN抽象出一组接口用于系统内部交互，定义为非SDK接口，这些接口通常位于CANN开源项目代码仓的pkg_inc目录下，其内容更改不会发布预告或记录。对于参与CANN开源软件贡献的开发者，可以按需参考相关开源代码，了解这些接口的功能。对于AI算子、算法和应用开发者，无需依赖此类接口即可完成开发任务；如认为某些非SDK接口对于AI算子、算法和应用的开发不可或缺，可以在CANN开源社区(https://gitcode.com/cann)相应的项目中创建issue，请求新增开放接口，由该开源项目评估需求和方案的合理性。


各组件详细的头文件和库文件列表如下。

-   Ascend C(https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/920beta1/API/ascendcopapi/docs/api/api_list.md)

-   Runtime运行时(https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/920beta1/API/runtimeapi/aclcppdevg_03_1952.html)

- GE图引擎

  -     图开发(https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/920beta1/API/ascendgraphapi/atlasgeapi_07_1058.html)

  -     DataFlow(https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/920beta1/others/dataflowdevg/dfrefc_23_0001.html)

  -     UDF(https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/920beta1/others/dataflowdevg/udfrefc_23_00001.html)

  -     LLM-DataDist(https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/920beta1/others/llmdatadistdev/llmcrv1_42_02.html)


-   算子库(https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/920beta1/API/aolapi/operatorlist_00533.html)

- 通信库

  -     HCCL(https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/920beta1/commlib/hcclug/docs/zh/api_ref/hccl_header_and_lib.md)

  -     HCOMM(https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/920beta1/commlib/hcclug/docs/zh/api_ref/hcomm_header_and_lib.md)

  -     HIXL(https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/920beta1/commlib/hixlug/docs/zh/api/cpp/header_files_and_library_files.md)

-   ATB加速库(https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/920beta1/acce/ascendtb/ascendtb_01_0005.html)

-   SiP加速库(https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/920beta1/acce/SiP/docs/header_files_library_files.md)

-   DVPP媒体库(https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/920beta1/acce/dvpp/dvpp_03_0001.html)

-   PTO-ISA(https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/920beta1/compiler/ptoisa/docs/PTO-ISA-Header-and-Library-Description.md)
