PTO ISA Conventions【免费下载链接】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-isaThis page defines shared conventions used across the per-instruction ISA reference pages underdocs/isa/.Tiles and ShapesTile: the core operand type for PTO instructions. Most instructions operate on aTileand use itsvalid region.Valid region: the active sub-rectangle of a tile. Most operations iterate overtile.GetValidRow()andtile.GetValidCol().Layouts: tile layouts are defined by template parameters such asBLayout(big-fractal) andSLayout(small-fractal).GlobalTensor (GM)GlobalTensorrepresents tensors stored in global memory (GM).TLOAD/TSTOREmove data between GM and tiles.Events and SynchronizationPTO supports modeling dependencies between operations via events:Producer: an instruction mayrecordan event when it completes.Consumer: an instruction may depend on one or more previously recorded events.In the C intrinsics, this is represented by passing event objects as extra arguments.Assembly Syntax (PTO-AS)Instruction docs show PTO-AS examples using MLIR-like conventions:SSA value names use%name.Types use MLIR-style spellings such as!pto.tile...and!pto.memref....Seedocs/assembly/PTO-AS.mdfor the full syntax and grammar.【免费下载链接】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),仅供参考