Article ID | Journal | Published Year | Pages | File Type |
---|---|---|---|---|
4603687 | Linear Algebra and its Applications | 2006 | 13 Pages |
Abstract
One of the keys to tap the full performance potential of current hardware is the optimal utilization of cache memory. Cache oblivious algorithms are designed to inherently benefit from any underlying hierarchy of caches, but do not need to know about the exact structure of the cache. In this paper, we present a cache oblivious algorithm for matrix multiplication. The algorithm uses a block recursive structure and an element ordering that is based on Peano curves. In the resulting code, index jumps can be totally avoided, which leads to an asymptotically optimal spatial and temporal locality of the data access.
Related Topics
Physical Sciences and Engineering
Mathematics
Algebra and Number Theory