支持原位计算的高效三角矩阵乘法向量化方法  被引量:3

Efficient vectorization method of triangular matrix multiplication supporting in-place calculation

在线阅读下载全文

作  者:刘仲[1] 田希[1] 陈磊[1] 

机构地区:[1]国防科技大学计算机学院,湖南长沙410073

出  处:《国防科技大学学报》2014年第6期7-11,47,共6页Journal of National University of Defense Technology

基  金:国家自然科学基金资助项目(61133007)

摘  要:向量化算法映射是向量处理器的难点问题。提出一种高效的支持原位计算的三角矩阵乘法向量化方法:将L1D配置为SRAM模式,用双缓冲的乒乓方式平滑多级存储结构的数据传输,使得内核的计算与DMA数据搬移完全重叠,让内核始终以峰值速度运行,从而取得最佳的计算效率;将不规则的三角矩阵乘法计算均衡分布到各个向量处理单元,充分开发向量处理器的多级并行性;将结果矩阵保存在乘数矩阵中,实现原位计算,节省了存储空间。实验结果表明,提出的向量化方法使三角矩阵乘法性能达到1053.7GFLOPS,效率为91.47%。The vectorization of algorithm mapping for vector processors is a critical issue. An efficient vectorization method of triangular matrix multiplication which supports the in-place calculation was presented. L1 D was configured as SRAM and the ping-pong pattern with double buffering was designed to smooth the data transfers of multilevel storage structure,which made the kernel computation overlap the DMA data transfer fully and run with peak speed throughout,so then the optimal computation efficiency was achieved. Irregular triangular matrix multiplication computation was evenly distributed to all vector processing elements to fully exploit multiple levels of parallelism for vector processor. Result matrix was stored in multiplier matrix,thus,the in-place calculation was achieved and the memory space was saved. Experimental results show that the performance of triangular matrix multiplication attained from the presented vectorization method achieves 1053. 7 GFLOPS and the efficiency of that reaches to 91. 47%.

关 键 词:三角矩阵乘法 原位计算 向量化 向量处理器 

分 类 号:TP391.4[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象