首页> 外国专利> Method and structure for fast in-place transformation of standard full and packed matrix data formats

Method and structure for fast in-place transformation of standard full and packed matrix data formats

机译:标准的完整和压缩矩阵数据格式的快速就地转换的方法和结构

摘要

A method and structure for an in-place transformation of matrix data. For a matrix A stored in one of a standard full format or a packed format and a transformation T having a compact representation, blocking parameters MB and NB are chosen, based on a cache size. A sub-matrix A1 of A, A1 having size M1=m*MB by N1=n*NB, is worked on, and any of a residual remainder of A is saved in a buffer B. Sub-matrix A1 is worked on by contiguously moving and contiguously transforming A1 in-place into a New Data Structure (NDS), applying the transformation T in units of MB*NB contiguous double words to the NDS format of A1, thereby replacing A1 with the contents of T(A1), and moving and transforming NDS T(A1) to standard data format T(A1) with holes for the remainder of A in buffer B. The contents of buffer B is contiguously copied into the holes of A2, thereby providing in-place transformed matrix T(A).
机译:一种矩阵数据就地转换的方法和结构。对于以标准完整格式或打包格式之一存储的矩阵A以及具有紧凑表示形式的变换T,根据缓存大小选择块参数MB和NB。 A的子矩阵A 1 ,A 1 的大小为M 1 = m * MB N 1 = n * NB,然后将A的任何剩余余数保存在缓冲区B中。通过连续移动和连续变换A 1来处理子矩阵A 1 就位到新数据结构(NDS)中,将以MB * NB连续双字为单位的转换T应用于A 1 的NDS格式,从而替换A 1 和T(A 1 )的内容,并将NDS T(A 1 )移动并转换为标准数据格式T(A 1 ),并在缓冲区B中保留剩余的A孔。将缓冲区B的内容连续复制到A 2 的孔中,从而提供就地转换矩阵T(A)。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号