引用本文: | 张凯,陈书明,王耀华,等.基于SIMD处理器的全定制多粒度矩阵寄存器文件.[J].国防科技大学学报,2013,35(4):156-160.[点击复制] |
ZHANG Kai,CHEN Shuming,WANG Yaohua,et al.A customized multi-grain matrix register file for SIMD processors[J].Journal of National University of Defense Technology,2013,35(4):156-160[点击复制] |
|
|
|
本文已被:浏览 8316次 下载 6904次 |
基于SIMD处理器的全定制多粒度矩阵寄存器文件 |
张凯, 陈书明, 王耀华, 陈海燕, 李振涛 |
(国防科技大学 计算机学院, 湖南 长沙 410073)
|
摘要: |
在SIMD处理器上映射矩阵运算时会带来大量的数据重排操作从而降低系统性能。本文提出定制化的多粒度矩阵寄存器文件(MMRF)以消除数据重排操作。MMRF支持多粒度的并行行访问和列访问,从而提升矩阵运算的性能。MMRF可以被动态配置为不同的并行访问模式,在不同模式下一个或多个子矩阵可以被并行处理。实验结果显示,同传统的向量寄存器文件(VRF)和矩阵寄存器文件(MRF)相比,MMRF可分别带来2.21倍和1.6倍的平均性能提升,面积分别增加14.3%和3.7%,功耗分别增加14.6%和2.2%。同TMS320C64x+处理器相比, 基于SIMD技术的FT-Matrix处理器在引入MMRF后可以得到5.65倍到7.71倍的性能提升。通过层次化的全定制设计技术, MMRF的面积和关键路径分别减少17.9%和39.1%。 |
关键词: SIMD 矩阵运算 多粒度 矩阵寄存器文件 |
DOI: |
投稿日期:2012-12-01 |
基金项目:国家自然科学基金资助项目(60906014,61070036);高性能计算联合博导组科研基金项目 |
|
A customized multi-grain matrix register file for SIMD processors |
ZHANG Kai, CHEN Shuming, WANG Yaohua, CHEN Haiyan, LI Zhentao |
(College of Computer, National University of Defense Technology, Changsha 410073, China)
|
Abstract: |
Mapping matrix operations on SIMD processors brings a large amount of data rearrangement that lowers the system performance. In this study, a customized Multi-Grain Matrix Register File (MMRF), which supports multi-grained parallel row-wise and column-wise access, was proposed to eliminate these data rearrangement and increase the performance of matrix operations. The MMRF could be configured into different parallel access modes, in which one or several sub-matrices can be accessed in parallel. Experimental results show that, compared with the traditional Vector Register File (VRF) and the MRF, the MMRF can respectively achieve about 2.21x and 1.6x average performance improvement, where the area of MMRF increases by 14.3% and 3.7% respectively, and the power of MMRF increases by 14.6% and 2.2% respectively. Compared with TMS320C64x+, the SIMD processor of FT-Matrix can achieve about 5.65x to 7.71x performance improvement by employing the MMRF. By hierarchical customized design technology, the area and critical-path delay of MMRF can be reduced by 17.9% and 39.1% respectively. |
Keywords: SIMD matrix operation multi-grain matrix register file |
|
|
|
|
|