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

CANN/pto-isa内存操作(GM <-> Tile)

Memory (GM <-> Tile)

【免费下载链接】pto-isaParallel Tile Operation (PTO) is a virtual instruction set architecture designed by Ascend CANN, focusing on tile-level operations. This repository offers high-performance, cross-platform tile operations across Ascend platforms.项目地址: https://gitcode.com/cann/pto-isa

This document describes memory operations between global memory and tiles.

Total Operations:6


Operations

TLOAD

For detailed instruction documentation, see isa/TLOAD

AS Level 1 (SSA):

%dst = pto.tload %mem : !pto.partition_tensor_view<MxNxdtype> -> !pto.tile<loc, dtype, rows, cols, blayout, slayout, fractal, pad>

AS Level 2 (DPS):

pto.tload ins(%mem : !pto.partition_tensor_view<MxNxdtype>) outs(%dst : !pto.tile_buf<...>)

TPREFETCH

For detailed instruction documentation, see isa/TPREFETCH

AS Level 1 (SSA):

%dst = pto.tprefetch %src : !pto.global<...> -> !pto.tile<...>

AS Level 2 (DPS):

pto.tprefetch ins(%src : !pto.global<...>) outs(%dst : !pto.tile_buf<...>)

TSTORE

For detailed instruction documentation, see isa/TSTORE

AS Level 1 (SSA):

pto.tstore %src, %mem : (!pto.tile<...>, !pto.partition_tensor_view<MxNxdtype>) -> ()

AS Level 2 (DPS):

pto.tstore ins(%src : !pto.tile_buf<...>) outs(%mem : !pto.partition_tensor_view<MxNxdtype>)

TSTORE_FP

For detailed instruction documentation, see isa/TSTORE_FP

AS Level 1 (SSA):

pto.tstore.fp %src, %fp, %mem : (!pto.tile<...>, !pto.tile<...>, !pto.partition_tensor_view<MxNxdtype>) -> ()

AS Level 2 (DPS):

pto.tstore.fp ins(%src, %fp : !pto.tile_buf<...>, !pto.tile_buf<...>) outs(%mem : !pto.partition_tensor_view<MxNxdtype>)

MGATHER

For detailed instruction documentation, see isa/MGATHER

AS Level 1 (SSA):

%dst = pto.mgather %mem, %idx : (!pto.partition_tensor_view<MxNxdtype>, pto.tile<...>) -> !pto.tile<loc, dtype, rows, cols, blayout, slayout, fractal, pad>

AS Level 2 (DPS):

pto.mgather ins(%mem, %idx : !pto.partition_tensor_view<MxNxdtype>, !pto.tile_buf<...>) outs(%dst : !pto.tile_buf<...>)

MSCATTER

For detailed instruction documentation, see isa/MSCATTER

AS Level 1 (SSA):

pto.mscatter %src, %idx, %mem : (!pto.tile<...>, !pto.tile<...>, !pto.partition_tensor_view<MxNxdtype>) -> ()

AS Level 2 (DPS):

pto.mscatter ins(%src, %idx : !pto.tile_buf<...>, !pto.tile_buf<...>) outs(%mem : !pto.partition_tensor_view<MxNxdtype>)

【免费下载链接】pto-isaParallel Tile Operation (PTO) is a virtual instruction set architecture designed by Ascend CANN, focusing on tile-level operations. This repository offers high-performance, cross-platform tile operations across Ascend platforms.项目地址: https://gitcode.com/cann/pto-isa

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

http://www.jsqmd.com/news/783440/

相关文章:

  • 使用Taotoken后我们网站的AI服务延迟体感明显下降
  • 2026年沥青加温设备、筑路设备源头厂家采购完全指南——德州霖垚筑路设备官方对接 - 企业名录优选推荐
  • 接入Taotoken后从API响应时间体感上感知到的服务延迟优化
  • 2026年高性价比国产管夹式流量计替代:五家优选深度对比 - 科技焦点
  • 机器学习预测磁性材料临界温度:从数据驱动到物理洞察
  • 职场中的年羹尧
  • 医疗影像AI落地实战:从AGI大模型到临床小模型的对齐与轻量化
  • 河北筑盛建筑工程:行唐市政道路沥青施工推荐几家 - LYL仔仔
  • 基于强化学习的量子热机反馈控制:DDPG算法实现与优化
  • R数据导入全链路实战:从CSV到SPSS、FWF与大文件处理
  • CANN/pto-isa矩阵乘法操作参考
  • 2026年山东沥青加温设备与道路养护筑路设备采购完全指南 - 企业名录优选推荐
  • CANN/metadef动态算子自动映射
  • CANN Runtime API 参考
  • ComfyUI-VideoHelperSuite:掌握视频合成的5个关键技巧与实战指南
  • 顽固黑头用什么泥膜 靠谱 7 天终结黑头反复,顽固黑头一键清零 - 全网最美
  • 筑牢生命防线:2026年精选五家便捷急救AED除颤仪厂家推荐 - 品牌2026
  • AI驱动野生动物保护:计算机视觉与机器学习实战指南
  • AIAS信息模型:构建工业AI与自动化系统融合的标准化蓝图
  • FPGA-MPSoC边缘AI加速实战:从模型量化到硬件部署全解析
  • 如何免费使用KH Coder进行文本挖掘:从零开始的完整指南
  • 唐县昌缘商贸:博野县人物铜雕生产厂家 - LYL仔仔
  • 如何高效使用哔哩下载姬DownKyi:新手指南与实用技巧
  • 可解释AI评估新范式:基于用户任务表现的客观评估方法与实践
  • CANN/DeepSeek-V4配置指南
  • WatchGuard Agent多漏洞深度解析:从本地提权到SYSTEM,安全代理为何成为内网最大后门?
  • 2026年半导体超高纯与石化防爆压力变送器推荐:五家优选对比 - 科技焦点
  • 【EI会议推荐】2026 人工智能、信息物理系统和智能计算国际学术会议(ICAICI 2026) - 艾思科蓝AiScholar
  • CANN/SiP批量矩阵求逆
  • AI辅助手写试卷评分的实战:OCR与LLM技术方案对比与工程化指南