Low depth cache-oblivious algorithms
Low depth cache-oblivious algorithms
复制标题
DOI:
10.1145/1810479.1810519
复制
发表时间:
2010-06
影响因子:
0.5
通讯作者:
G. Blelloch;Phillip B. Gibbons;H. Simhadri
中科院分区:
文献类型:
--
作者:
G. Blelloch;Phillip B. Gibbons;H. Simhadri
In this paper we explore a simple and general approach for developing parallel algorithms that lead to good cache complexity on parallel machines with private or shared caches. The approach is to design nested-parallel algorithms that have low depth (span, critical path length) and for which the natural sequential evaluation order has low cache complexity in the cache-oblivious model. We describe several cache-oblivious algorithms with optimal work, polylogarithmic depth, and sequential cache complexities that match the best sequential algorithms, including the first such algorithms for sorting and for sparse-matrix vector multiply on matrices with good vertex separators. Using known mappings, our results lead to low cache complexities on shared-memory multiprocessors with a single level of private caches or a single shared cache. We generalize these mappings to multi-level cache hierarchies of private or shared caches, implying that our algorithms also have low cache complexities on such hierarchies. The key factor in obtaining these low parallel cache complexities is the low depth of the algorithms we propose.