Menu
Your Cart

【京仓速发 明日达】Ascend C异构并行程序设计—— 昇腾算子编程指南9787115**9720

【京仓速发 明日达】Ascend C异构并行程序设计—— 昇腾算子编程指南9787115**9720
【京仓速发 明日达】Ascend C异构并行程序设计—— 昇腾算子编程指南9787115**9720
【京仓速发 明日达】Ascend C异构并行程序设计—— 昇腾算子编程指南9787115**9720
【京仓速发 明日达】Ascend C异构并行程序设计—— 昇腾算子编程指南9787115**9720
【京仓速发 明日达】Ascend C异构并行程序设计—— 昇腾算子编程指南9787115**9720
【京仓速发 明日达】Ascend C异构并行程序设计—— 昇腾算子编程指南9787115**9720
【京仓速发 明日达】Ascend C异构并行程序设计—— 昇腾算子编程指南9787115**9720
【京仓速发 明日达】Ascend C异构并行程序设计—— 昇腾算子编程指南9787115**9720
【京仓速发 明日达】Ascend C异构并行程序设计—— 昇腾算子编程指南9787115**9720
US$20.36
  • Stock: 100
  • Model: 10149151643108
  • Weight: 1.00kg
  • Dimensions: 25.00cm x 10.00cm x 1.50cm

How to Order & Pay

Shipping: Free Shipping & Customs Tax included are subject to change, please refer to the quote you received.

Delivery: Accurate and precise order tracking. Learn more

Package Safety: Refund for your damaged or lost package. Learn more

Payments:


Shop with confidence

Inspect item by item, verify, conduct quality checks, and upload authentic photos of the products.

Consolidate and repackage all items to reduce international logistics costs and facilitate international transportation.

Our customer service is always here if you need help. Click here to chat with us or Chat on WhatsApp

Please log in to view detailed product descriptions and select product options.

【京仓速发 明日达】Ascend C异构并行程序设计—— 昇腾算子编程指南

 作  者 : 苏统华,杜鹏,闫长江

 出  版  社 : 人民邮电出版社

 ISBN 号 : 9787115649720

 出版日期 : 2024年12月

 版  次 : 1

 印  次 : 1

 页  数 : 189

 字  数 : 269

 装  帧 : 平装

 开  本 : 16开

本书以昇腾算子编程语言Ascend C的高效开发为核心,系统介绍华为面向人工智能的昇腾AI处理器架构、硬件抽象及其软件栈。本书由浅入深,通过案例讲解知识点,理论与实践并重。全书分为6章,分别介绍了昇腾AI处理器软硬件架构、Ascend C 快速入门、Ascend C编程模型与编程范式、Ascend C算子开发流程、Ascend C算子调试调优和Ascend C大模型算子优化。本书适合人工智能产业的研发人员阅读,也适合软件工程、人工智能、信息安全、大数据、物联网等专业的本科生学习。

苏统华哈尔滨工业大学软件学院副院长,教授,博士生导师。主要科研方向为深度学习与异构计算、图像生成与安全等。承担国家**研发课题、国家自然科学**等科研项目30余项,发表论文80余篇,出版专著和译著15本。获聘首批华为昇腾领**物(MVP,全国14人),担任首届MindSpore社区技术治理委员会成员(全球13人),担任华为昇腾专家,连续4年评为全国GPU教育工作者。杜 鹏博士,浙江大学计算机辅助设计与图形学国家**实验室专职研究员,主要研究方向为图形学与CAD、人工智能、异构计算。在SIGGRAPH、CVPR等会议发表论文10余篇,出版《昇腾A处理器CANN架构与编程》《昇腾AI处理器CANN应用与实战——基于Atas硬件的人工智能案例开发指南》。获2021年度浙江省科学技术进步奖一等奖、2022年上海市技术发明奖一等奖。闫长江昇腾CANN首席架构师,负责昇腾AI处理器与异构计算架构CANN的架构设计,负责华为昇腾处理器的市场商用业务。在数据通信和计算机体系架构设计领域有超过20年的行业经验。

  • * * 章 昇腾AI处理器软硬件架构 1
  • 1.1 Atlas硬件计算平台 1
  • 1.1.1 Atlas服务器 1
  • 1.1.2 Atlas集群 3
  • 1.2 昇腾AI处理器 3
  • 1.3 达 芬奇架构 5
  • 1.3.1 计算单元 6
  • 1.3.2 存储系统 13
  • 1.3.3 控制单元 17
  • 1.3.4 指令集设计 19
  • 1.4 硬件感知 20
  • 1.5 昇腾异构计算架构 22
  • 1.6 小结 23
  • 1.7 测验题 23
  • 1.8 实践题 24
  • 第 2 章 Ascend C快速入门 25
  • 2.1 并行计算的基本原理 25
  • 2.1.1 并行体系结构的分类 26
  • 2.1.2 大模型并行加速的基本原理 28
  • 2.1.3 并行效率量化的原理 29
  • 2.2 Ascend C开发环境准备 30
  • 2.2.1 版本选择 30
  • 2.2.2 环境依赖 31
  • 2.2.3 安装开发套件软件包 31
  • 2.3 Ascend C算子的开发调用 32
  • 2.3.1 CANN算子的类型 32
  • 2.3.2 运行时和任务调度 34
  • 2.3.3 两种核函数的调用方式 38
  • 2.3.4 调用一个昇腾算子 39
  • 2.4 昇腾向量加法程序的加速比 43
  • 2.5 小结 43
  • 2.6 测验题 43
  • 2.7 实践题 44
  • 第 3 章 Ascend C编程模型与编程范式 45
  • 3.1 Ascend C编程模型 45
  • 3.1.1 AI Core硬件抽象 45
  • 3.1.2 SPMD编程模型 47
  • 3.1.3 流水线编程范式 48
  • 3.2 Ascend C语法扩展 50
  • 3.2.1 Ascend C API概述 51
  • 3.2.2 数据存储 53
  • 3.2.3 任务间通信与同步模块 56
  • 3.2.4 资源管理模块 57
  • 3.2.5 临时变量 58
  • 3.3 向量编程范式 59
  • 3.3.1 算子分析 60
  • 3.3.2 核函数的定义与封装 61
  • 3.3.3 算子的数据通路 62
  • 3.3.4 算子类的实现 63
  • 3.3.5 算子的切分策略 67
  • 3.4 矩阵编程范式 68
  • 3.4.1 基础知识 68
  • 3.4.2 高阶API实现Matmul算子流程概述 72
  • 3.4.3 Matmul算子Kernel侧的开发 72
  • 3.4.4 Matmul算子Host侧的开发 78
  • 3.5 混合编程范式 81
  • 3.5.1 matmul_leakyrelu算子的基本概念 81
  • 3.5.2 matmul_leakyrelu算子Kernel侧的开发 82
  • 3.6 更多Ascend C算子样例 88
  • 3.6.1 双曲正弦函数算子核函数的实现 **
  • 3.6.2 Strassen矩阵乘法算子核函数的实现 91
  • 3.6.3 LayerNorm核函数的实现 101
  • 3.7 小结 105
  • 3.8 测验题 106
  • 3.9 实践题 106
  • 第 4 章 Ascend C算子开发流程 108
  • 4.1 算子开发流程概述 108
  • 4.2 自动生成算子工程 109
  • 4.3 算子开发流程:Kernel侧 111
  • 4.3.1 函数原型的声明 113
  • 4.3.2 算子类的实现 113
  • 4.4 算子开发流程:Host侧 114
  • 4.4.1 Tiling实现 114
  • 4.4.2 shape推导等函数的实现 117
  • 4.4.3 算子原型的注册 118
  • 4.5 算子工程的编译部署 119
  • 4.5.1 算子工程的编译 119
  • 4.5.2 算子包的部署 121
  • 4.6 PyTorch算子调用 122
  • 4.6.1 PyTorch算子调用的基本原理 122
  • 4.6.2 安装PyTorch框架 122
  • 4.6.3 安装torch_npu插件 123
  • 4.*.* 安装APEX模块 124
  • 4.6.5 调用测试脚本 125
  • 4.7 Ascend C算子在整网中的替换 126
  • 4.7.1 替换算子的工程开发及编译部署 126
  • 4.7.2 PyTorch适配插件的开发 127
  • 4.7.3 算子替换 129
  • 4.8 小结 130
  • 4.9 测验题 130
  • 4.10 实践题 131
  • 第 5 章 Ascend C算子调试调优 132
  • 5.1 算子调试工具 132
  • 5.1.1 孪生调试 132
  • 5.1.2 CPU域的调试 132
  • 5.1.3 NPU域的调试 135
  • 5.2 算子调优工具 139
  • 5.2.1 算子性能调优原理 139
  • 5.2.2 算子调优基本流程 142
  • 5.3 算子异常检测工具 143
  • 5.3.1 算子内存的检测原理 143
  • ......

More ways to get help

1. Please click "HELP" to get more information.

2. Contact us on [email protected]

3. Chat now or Chat on WhatApp

Tips for reducing the shipping cost

1)Get rid of the original packing, for example, if you buy a pair of shoes, you could get rid of the shoebox which will save a lot for volumetric weight.

2)The shipping cost is normally charged by every 0.5KG. So if you buy a product that is only 0.1KG then you might consider buying 2-3 PCS per time which will not add more shipping cost for your order.

Volumetric Weight

Volumetric weight refers to the overall size of a parcel and is measured in volumetric kilograms. Volumetric weight can be calculated by multiplying the length, width, and height of a parcel (in cm) and dividing that figure by 5000 (some carriers use a divisor of 6000/7000 and etc).

Volumetric Weight

Prohibited Items (but not limited) for International Shipping,

  • cigarette Cigarette
  • alcohol Alcohol
  • liquid Liquid
  • knife-scissor Knife/Scissor
  • toy-gun Toy Gun
  • seeds Seeds
  • animals Live Animals
  • flowers Real Flowers

The following items (but not limited) might only could ship with specific logistic lines,

  • cream Cream
  • cosmetics Cosmetics
  • snacks Snacks
  • medicine Medicine
Women's Clothing (Coats & Jackets, Dresses, T-Shirts, Tops, Suits)
Standard Size
China (cm) 160-165/84-86 165-170 / 88-90 167-172 / 92-96 168-173 / 98-102 170-176 / 106-110
International XS S M L XL
USA 2 4-6 8-10 12-14 16-18
Europe 34 34-36 38-40 42 44
Bra - Under bust
Standard Size
China
(cm)
76.2 81.3 86.4 91.5 96.5 101.6 106.7 112 117 122 127 132 137 142
USA 30 32 34 36 38 40 42 44 46 48 50 52 54 56
UK 30 32 34 36 38 40 42 44 46 48 50 52 54 56
Europe   70 75 80 85 90                
France   85 90 95 100 105                
Italy   1 2 3 4 5                
Bra - Cup size
Standard Size
China A B C D E                  
USA AA A B C D DD DDD/E F FF G GG H HH J
UK AA A B C D DD E F FF G GG H HH J
Europe AA A B C D E F              
France AA A B C D E F              
Italy   B B/none C D DD E F            
Women's Underwear
Standard Size
China S M L XL XXL XXXL
International XS S M L XL XXL
USA 2 4 6 8 10 12
UK 6 8 10 12 14 16
Europe 32 34 36 38 40 42
France 34 36 38 40 42 44
Italy 38 40 42 44 46 48
Women's Shoes
Standard Size
Length (cm) 22.8 23.1 23.5 24.1 24.5 25.1 25.7 26 26.7 27.3 27.9 28.6 29.2
China 35.5 36 37 38 39 40 41.5 42 43 44.5 46 47 48
USA 5 5.5 6 7 7.5 8.5 9.5 10 10.5 12 13 14 15.5
UK 2.5 3 3.5 4.5 5 6 7 7.5 8 9.5 10.5 11.5 13
Europe 35 35.5 36 37.5 38 39 41 42 43 44 45 46.5 48.5
Men's Clothing (Coats & Jacketst,T-Shirts,Suits)
Standard Size
China (cm) 165 / 88-90 170 / 96-98 175 / 108-110 180 / 118-122 185 / 126-130
International S M L XL XXL
Men's Clothing (Shirts)
Standard Size
China (cm) 36 - 37 38 - 39 40 - 42 43 - 44 45 - 47
International S M L XL XXL
Men's Clothing (Pants)
Size (cm) 42 44 46 48 50
Waist (cm) 68 - 72 cm 71 - 76 cm 75 - 80 cm 79 - 84 cm 83 - 88 cm
Outseam (cm) 99 cm 101.5 cm 104 cm 106.5 cm 109 cm
Men's Underwear
Standard Size
China(cm) 72-76 76-81 81-87 87-93 93-98
International S M L XL XXL
USA(inch) 28-30 30-32 32-34 34-38 38-42
Men's Shoes
Standard Size
Length(cm) 24.5 25.1 25.7 26 26.7 27 27.6 28.3 28.6 28.9
China 39.5 41 42 43 44 44.5 46 47 47.5 48
USA 6 7 8 8.5 9.5 10 11 12 12.5 13
UK 5.5 6.5 7.5 8 9 9.5 10.5 11.5 12 12.5
Europe 38 39 41 42 43.5 44 45 46 46.5 47
长度Length
Imperial英制 Meric公制
1 inch[in] 英寸 ---- 2.54 cm 厘米
1 foot[ft] 英尺 12 in 英寸 0.03048 m 米
1 yard[yd] 码 3 ft 英尺 0.9144 m 米
1 mile[mi] 英里 1760 yd 码 1.6093 km 千米
1 int nautical mile[inm] 海里 2025.4 yd 码 1.853 km 千米
面积Area
Imperial英制 Meric公制
1 sq inch[in2] 平方英寸 ---- 6.4516 cm2 平方厘米
1 sq foot[ft2] 平方英尺 144 in2 平方英寸 0.0929 m2 平方米
1 sq yard[yd2] 平方码 9 ft2 平方英尺 0.8361 m2 平方米
1 acre 英亩 4840 yd2 平方码 4046.9 m2 平方米
1 sql mile[mile2] 平方英里 640 acre 英亩 2.59 km2 平方千米
体积/容量Volume/Capacity
Imperial英制 Meric公制
1 fluid ounce 液量蛊司 1.048 UK fl oz 英制液量蛊司 29.574 ml 毫升
1 pint(16 fl oz 液量品脱)品脱 0.8327 UK pt 英制品脱 0.4731 l 升
1 gallon 加仑 0.8327 UK gal 英制加仑 3.7854 l 升
重量Weight
Imperial英制 Meric公制
1 ounce[oz]蛊司 437.5 grain 格令 28.35 g 克
1 pound[lb]磅 16 oz 蛊司 0.4536 kg 千克
1 stone 石 14 lb 磅 6.3503 kg 千克
1 hundredweight[cwt] 英担 112 lb 磅 50.802 kg 千克
1 long ton(UK) 长顿 20 cwt 英担 1.061 t 顿