hc-skadi/ascendc/ascendc-npu-arch
Claude Code and agent skill by hc-skadi/ascendc
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Ascend NPU 架构知识查询技能。通过芯片型号映射、架构代际划分和 arch35 特性说明,帮助判断目标平台能力、特性支持与条件编译策略。当需要确认芯片型号、NpuArch/SocVersion、架构差异、特性支持或编译分支条件时使用。
Install
npx vskill@latest install hc-skadi/ascendc/ascendc-npu-archSKILL.md
Ascend NPU 架构知识
架构代际概述
| 概念 | 说明 | |
|---|---|---|
| NpuArch | 芯片架构号,定义指令集和微架构,运行时通过 GetCurNpuArch() 获取 | |
| SocVersion | 片上系统版本,软件命名标识,运行时通过 GetSocVersion() 获取 | |
| __NPU_ARCH__ | Device 侧编译宏,四位数值,用于条件编译 |
完整映射表
| NpuArch | __NPU_ARCH__ | SocVersion | 产品系列 | 芯片型号 | |
|---|---|---|---|---|---|
| DAV_1001 | 1001 | ASCEND 910 | Atlas 训练系列 | Ascend 910 | |
| DAV_2002 | 2002 | ASCEND 310P | Atlas 推理系列 | Ascend 310P1, Ascend 310P3 | |
| DAV_2201 | 2201 | ASCEND 910B | Atlas A2 训练/推理系列 | Ascend 910B1~B4, Ascend 910B2C | |
| DAV_2201 | 2201 | ASCEND 910B | Atlas A3 训练/推理系列 | Ascend 910_93 | |
| DAV_3002 | 3002 | ASCEND 310B | Atlas 200I/500 A2 推理产品 | Ascend 310B1~B4 | |
| DAV_3510 | 3510 | ASCEND 950 | Atlas A5 训练系列 | Ascend 950DT (Decode) | |
| DAV_3510 | 3510 | ASCEND 950 | Atlas A5 推理系列 | Ascend 950PR (Prefill) |
注意:Ascend910_93的 SocVersion 字符串在运行时映射到SocVersion::ASCEND910B(非独立枚举值),NpuArch 同为 DAV_2201。
获取当前架构
GetCurNpuArch()返回NpuArch枚举,失败时返回NpuArch::DAV_RESVGetSocVersion()返回SocVersion枚举,失败时返回SocVersion::RESERVED_VERSION
Ascend 950 (DAV_3510) 独有特性
| 特性 | 说明 | 典型算子 | |
|---|---|---|---|
| Regbase 编程 | 直接操作寄存器 | 量化算子 | |
| SIMT 编程 | 线程级并行 | 随机数、排序 | |
| FP8 格式 | 8-bit 浮点 | 量化、动态量化 |
详细文档
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingagent-skills/cannbot-skills/ascendc-npu-arch/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 8
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/hc-skadi/ascendc/ascendc-npu-arch)