Memory-constrained data locality optimization for tensor contractions

被引:7
作者
Bibireata, A [1 ]
Krishnan, S
Baumgartner, G
Cociorva, D
Lam, CC
Sadayappan, P
Ramanujam, J
Bernholdt, DE
Choppella, V
机构
[1] Ohio State Univ, Dept Comp & Informat Sci, Columbus, OH 43210 USA
[2] Louisiana State Univ, Dept Elect & Comp Engn, Baton Rouge, LA 70803 USA
[3] Oak Ridge Natl Lab, Oak Ridge, TN 37831 USA
来源
LANGUAGES AND COMPILERS FOR PARALLEL COMPUTING | 2004年 / 2958卷
关键词
D O I
10.1007/978-3-540-24644-2_7
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
The accurate modeling of the electronic structure of atoms and molecules involves computationally intensive tensor contractions over large multi-dimensional arrays. Efficient computation of these contractions usually requires the generation of temporary intermediate arrays. These intermediates could be extremely large, requiring their storage on disk. However, the intermediates can often be generated and used in batches through appropriate loop fusion transformations. To optimize the performance of such computations a combination of loop fusion and loop tiling is required, so that the cost of disk I/O is minimized. In this paper, we address the memory-constrained data-locality optimization problem in the context of this class of computations. We develop an optimization framework to search among a space of fusion and tiling choices to minimize the data movement overhead. The effectiveness of the developed optimization approach is demonstrated on a computation representative of a component used in quantum chemistry suites.
引用
收藏
页码:93 / 108
页数:16
相关论文
共 13 条
[1]  
BAUMGARTNER G, 2002, P SUP 2002 NOV
[2]  
COCIORVA D, 2001, P INT C HIGH PERF CO, V2228, P237
[3]  
COCIORVA D, 2002, P ACM SIGPLAN 2002 C, P177
[4]  
COCIORVA D, 2001, P 15 ACM INT C SUP I, P500
[5]  
COCIORVA D, 2003, P 17 INT PAR DISTR P
[6]  
KRISHNAN S, 2003, P INT C HIGH PERFORM
[7]  
LAM C, 1997, PAR P LETT, P157
[8]  
LAM C, 1999, P INT C HIGH PERF CO
[9]  
LAM C, 1999, P 12 LCPC WORKSH SAN
[10]  
Lam C., 1999, THESIS OHIO STATE U