数据移动/布局【免费下载链接】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本文档描述数据移动和布局转换操作。操作总数12操作TEXTRACT该指令的详细介绍请见isa/TEXTRACTAS Level 1 (SSA)%dst pto.textract %src, %idxrow, %idxcol : (!pto.tile..., dtype, dtype) - !pto.tile...AS Level 2 (DPS)pto.textract ins(%src, %idxrow, %idxcol : !pto.tile_buf..., dtype, dtype) outs(%dst : !pto.tile_buf...)TEXTRACT_FP该指令的详细介绍请见isa/TEXTRACT_FPAS Level 1 (SSA)%dst pto.textract_fp %src, %idxrow, %idxcol : (!pto.tile..., dtype, dtype) - !pto.tile...AS Level 2 (DPS)pto.textract_fp ins(%src, %idxrow, %idxcol : !pto.tile_buf..., dtype, dtype) outs(%dst : !pto.tile_buf...)TIMG2COLAS Level 1 (SSA)%dst pto.timg2col %src : !pto.tile... - !pto.tile...AS Level 2 (DPS)pto.timg2col ins(%src : !pto.tile_buf...) outs(%dst : !pto.tile_buf...)TINSERT该指令的详细介绍请见isa/TINSERTAS Level 1 (SSA)%dst pto.tinsert %src[%r0, %r1] : !pto.tile... - !pto.tile...AS Level 2 (DPS)pto.tinsert ins(%src[%r0, %r1] : !pto.tile_buf...) outs(%dst : !pto.tile_buf...)TINSERT_FP该指令的详细介绍请见isa/TINSERT_FPAS Level 1 (SSA)%dst pto.tinsert_fp %src, %fp, %idxrow, %idxcol : (!pto.tile..., !pto.tile..., dtype, dtype) - !pto.tile...AS Level 2 (DPS)pto.tinsert_fp ins(%src, %fp, %idxrow, %idxcol : !pto.tile_buf..., !pto.tile_buf..., dtype, dtype) outs(%dst : !pto.tile_buf...)TFILLPAD该指令的详细介绍请见isa/TFILLPADAS Level 1 (SSA)%dst pto.tfillpad %src : !pto.tile... - !pto.tile...AS Level 2 (DPS)pto.tfillpad ins(%src : !pto.tile_buf...) outs(%dst : !pto.tile_buf...)TFILLPAD_INPLACE该指令的详细介绍请见isa/TFILLPAD_INPLACEAS Level 1 (SSA)%dst pto.tfillpad_inplace %src : !pto.tile... - !pto.tile...AS Level 2 (DPS)pto.tfillpad_inplace ins(%src : !pto.tile_buf...) outs(%dst : !pto.tile_buf...)TFILLPAD_EXPAND该指令的详细介绍请见isa/TFILLPAD_EXPANDAS Level 1 (SSA)%dst pto.tfillpad_expand %src : !pto.tile... - !pto.tile...AS Level 2 (DPS)pto.tfillpad_expand ins(%src : !pto.tile_buf...) outs(%dst : !pto.tile_buf...)TMOV该指令的详细介绍请见isa/TMOVAS Level 1 (SSA)%dst pto.tmov.s2d %src : !pto.tile... - !pto.tile...AS Level 2 (DPS)pto.tmov ins(%src : !pto.tile_buf...) outs(%dst : !pto.tile_buf...)TMOV_FP该指令的详细介绍请见isa/TMOV_FPAS Level 1 (SSA)%dst pto.tmov.fp %src, %fp : !pto.tile..., !pto.tile... - !pto.tile...AS Level 2 (DPS)pto.tmov.fp ins(%src, %fp : !pto.tile_buf..., !pto.tile_buf...) outs(%dst : !pto.tile_buf...)TRESHAPE该指令的详细介绍请见isa/TRESHAPEAS Level 1 (SSA)%dst pto.treshape %src : !pto.tile... - !pto.tile...AS Level 2 (DPS)pto.treshape ins(%src : !pto.tile_buf...) outs(%dst : !pto.tile_buf...)TTRANS该指令的详细介绍请见isa/TTRANSAS Level 1 (SSA)%dst pto.ttrans %src : !pto.tile... - !pto.tile...AS Level 2 (DPS)pto.ttrans ins(%src : !pto.tile_buf...) outs(%dst : !pto.tile_buf...)TIMG2COL该指令的详细介绍请见isa/TIMG2COLAS Level 1 (SSA)%dst pto.timg2col %src : !pto.tile... - !pto.tile...AS Level 2 (DPS)pto.timg2col ins(%src : !pto.tile_buf...) outs(%dst : !pto.tile_buf...)【免费下载链接】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),仅供参考