当前位置: 首页 > news >正文

CANN/asc-devkit:Ascend C基础API示例

Basic API Sample Introduction

【免费下载链接】asc-devkit本项目是CANN 推出的昇腾AI处理器专用的算子程序开发语言,原生支持C和C++标准规范,主要由类库和语言扩展层构成,提供多层级API,满足多维场景算子开发诉求。项目地址: https://gitcode.com/cann/asc-devkit

Overview

This sample introduces the usage of Ascend C Basic API, including data movement, matrix computation, memory vector computation, resource management, synchronization control, system access, atomic operations, and scalar computation.

Sample List

Directory NameDescription
00_data_movementThis directory contains samples for multiple APIs related to data movement, demonstrating the usage of data movement interfaces.
01_matrix_computeThis sample directory uses operators such as batch_mmad and fixpipe_co12c1_quantization as examples to demonstrate the usage of matrix computation interfaces.
02_memory_vector_computeThis sample directory uses operators such as reduce, sort, and transpose as examples to demonstrate the usage of memory vector computation interfaces.
03_reg_vector_computeThis directory contains samples for multiple APIs related to vector computation, implemented based on Reg programming interfaces.
04_resource_managementThis directory contains samples for multiple APIs related to resource management. Each sample is based on the Ascend C<<<>>>direct invocation method, supporting the implementation of both the main function and kernel function in the same cpp file.
06_sync_controlThis directory contains samples for multiple APIs related to synchronization control. Each sample is based on the Ascend C<<<>>>direct invocation method, supporting the implementation of both the main function and kernel function in the same cpp file.
07_system_accessThis directory contains samples for multiple APIs related to system variable access. Each sample is based on the Ascend C<<<>>>direct invocation method, supporting the implementation of both the main function and kernel function in the same cpp file.
08_atomic_operationsThis directory contains samples for multiple APIs related to atomic operations. Each sample is based on the Ascend C<<<>>>direct invocation method, supporting the implementation of both the main function and kernel function in the same cpp file.
09_scalar_computationThis directory contains samples for multiple APIs related to scalar computation. Each sample is based on the Ascend C<<<>>>direct invocation method, supporting the implementation of both the main function and kernel function in the same cpp file.

【免费下载链接】asc-devkit本项目是CANN 推出的昇腾AI处理器专用的算子程序开发语言,原生支持C和C++标准规范,主要由类库和语言扩展层构成,提供多层级API,满足多维场景算子开发诉求。项目地址: https://gitcode.com/cann/asc-devkit

创作声明:本文部分内容由AI辅助生成(AIGC),仅供参考

http://www.zskr.cn/news/1342757.html

相关文章:

  • 专业指南:怎样高效搭建Mohist 1.20.1混合服务器实现Mod与插件共存
  • CANN/pypto常见问题
  • InvenTree开源库存管理系统深度解析:从电子元器件管理到企业级库存控制
  • Qt5 super module终极指南:如何设计自定义模块与插件系统
  • 电子工程师必备:四大二极管(肖特基/开关/整流/稳压)深度解析与选型指南
  • swift-doc与Swift Package Manager的完美结合实践:快速生成专业Swift文档
  • 2026年最新一键生成论文工具全攻略(含免费额度说明)
  • 升学赠礼推荐开封汴绣绣品
  • 《Sysinternals实战指南》进程和诊断工具学习笔记(8.25):Handle进阶——批量巡检、自动审计与高危操作SOP
  • 数分-MySQL基础01
  • 【Linux驱动开发】第11天:设备树(Device Tree)超详细全解:从诞生背景到工作原理
  • 编译和链接+预处理
  • 从文字问诊到具身交付:健康 Agent 产品落地实战
  • b3dkit 生成连接器
  • 2026.5.12【芯片设计面试经验分享】上海车载芯片设计公司
  • 079.自监督学习预训练:在无标签数据上预训练YOLO骨干网络
  • 抖音内容本地化保存解决方案:批量下载与去水印工具实践
  • gdb调试ros2程序
  • 一文搞懂 Linux 驱动并发与竞争(学习笔记)
  • Harness Engineering:智能体异常处理机制
  • 【docker镜像加速器配置】
  • 【Midjourney拟物化风格实战指南】:20年视觉设计专家亲授3大材质渲染公式与5步出图工作流
  • 设计师私藏的11个纹理Prompt原子模块(仅限本周开放下载:含PBR贴图映射表+光照反射系数速查卡)
  • QQ家园迷你屋单机版下载:复刻05年经典网页社区,像素风直接拉满
  • 【RAG】【retrievers08】基于Together.ai长上下文嵌入的混合检索
  • AI 大模型技术架构演进与应用落地瓶颈分析
  • 【RAG】【retrievers09】Pathway检索器:实时数据索引与检索
  • 【RHCA+】info命令(模块化的命令帮助文档)
  • AI 术语通俗词典:LSTM
  • 仪式感,从来与你无关