计算机科学
并行计算
静态随机存取存储器
计算科学
计算机硬件
作者
Cuiyuan Jia,Zhang Dunbo,Qingjie Lang,Ruoxi Wang,Li Shen
摘要
While Single Instruction Multiple Data (SIMD) units are widely employed in processors for neural networks, signal processing, and high-performance computing, they suffer from expensive shuffle operations dedicated to data alignment. In fact, shuffle operations only change the layout of data and ideally should be done entirely within memory. To this end, we propose Shuffle SRAM in this paper, which can shuffle multiple data elements simultaneously across SRAM banks. The key idea is exploiting inter-bank word line wise data movement to shuffle data in parallel, where all data elements on the same word line of SRAM can be shuffled simultaneously, achieving a high level of parallelism. Through suitable data layout preparation and proper control, Shuffle SRAM efficiently supports a wide range of commonly used shuffle operations. Our evaluation results show that the Shuffle SRAM can reap performance benefits of 14.3 × for data reorganization only applications and 1.97 × for data reorganization + computation applications over conventional shuffle architecture on general-purpose processors. With Shuffle SRAM, the state-of-the-art vector processor can obtain 2.58 × energy efficiency. Compared with traditional SRAM, Shuffle SRAM only increases 3.5% additional area overhead.
科研通智能强力驱动
Strongly Powered by AbleSci AI