A cache-aware algorithm for PDES on hierarchical data structures based on space-filling curves

被引:27
作者
Guenther, Frank
Mehl, Miriam
Poegl, Markus
Zenger, Christoph
机构
[1] Audi AG, D-85045 Ingolstadt, Germany
[2] Tech Univ Munich, Inst Informat, D-85748 Garching, Germany
[3] Rohde & Schwarz GmbH, D-8171 Munich, Germany
关键词
partial differential equations; space-tree; space-filling curves; cache-awareness;
D O I
10.1137/040604078
中图分类号
O29 [应用数学];
学科分类号
070104 ;
摘要
Competitive numerical algorithms for solving partial differential equations have to work with the most efficient numerical methods like multigrid and adaptive grid refinement and thus with hierarchical data structures. Unfortunately, in most implementations, hierarchical data typically stored in trees - cause a nonnegligible overhead in data access. To overcome this quandary numerical efficiency versus efficient implementation - our algorithm uses space-filling curves to build up data structures which are processed linearly. In fact, the only kind of data structure used in our implementation is stacks. Thus, data access becomes very fast - even faster than the common access to nonhierarchical data stored in matrices - and, in particular, cache misses are reduced considerably. Furthermore, the implementation of multigrid cycles and/or higher order discretizations as well as the parallelization of the whole algorithm become very easy and straightforward on these data structures.
引用
收藏
页码:1634 / 1650
页数:17
相关论文
共 41 条
[1]  
AFTOSMIS MJ, 2000, AIAA AER SCI M EXH R
[2]  
[Anonymous], THESIS U ERLANGEN NU
[3]  
[Anonymous], P 40 ANN S FDN COMP
[4]  
[Anonymous], 2000, ELECTRON T NUMER ANA
[5]  
Bader M, 2002, LECT NOTES COMPUT SC, V2331, P662
[6]  
BADER M, 2006, IN PRESS LINEAR ALGE
[7]  
Bornemann F. A., 1992, Impact of Computing in Science and Engineering, V4, P1, DOI 10.1016/0899-8248(92)90015-Z
[8]  
BRAESS D, 2001, FINITE ELEMENT THEOR
[9]  
Chatterjee S., 2000, P 6 INT S HIGH PERFO, P195
[10]  
CHATTERJEE S, 1999, P 11 ANN ACM S PAR A, P222