期刊文献+

Joint-Communication Optimal Matrix Multiplication with Asymmetric Memories

原文传递
导出
摘要 Emerging hardware like non-volatile memory(NVM)and high-speed network interface cards are promising to improve the performance of matrix multiplication.However,a critical challenge in achieving high performance is the tradeoff between horizontal communication(data movement between processors)and vertical communication(data movement across memory hierarchies).In this paper,we provide an analysis in the distributed memory parallel model with additional consideration for communication between main memory and cache.We measure joint communication as the sum of the horizontal bandwidth and vertical bandwidth cost,and study the joint-communication cost of square matrix multiplication in the read-write symmetric setting(such as DRAM)and asymmetric setting(such as NVM).Specifically,we identify that in the symmetric setting,a joint-communication optimal algorithm can be directly obtained by combining the horizontally optimal and vertically optimal algorithms.We also identify that in the asymmetric setting,horizontal and vertical communications cannot be optimal at the same time,which means that there is a tradeoff between the two communications.In this case,we first present a joint-communication lower bound,and then we propose Joint-Communication Optimal Matrix Multiplication Algorithm(JOMMA),a parallel matrix multiplication algorithm whose joint-communication complexity meets the lower bound.The key idea behind JOMMA is to derive optimal matrix dimensions that each processor locally performs,which leads to determining the processor grid and an optimal schedule.
作者 Lin Zhu Qiang-Sheng Hua Hai Jin 朱琳;华强胜;金海
出处 《Journal of Computer Science & Technology》 2025年第3期835-854,共20页 计算机科学技术学报(英文版)
基金 supported in part by the National Key Research and Development Program of China under Grant No.2022ZD0115301 the National Natural Science Foundation of China under Grant Nos.61972447 and 61832006.

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部