Memory Hierarchy Optimizations and Performance ounds for Sparse A
Abstract
This paper presents uniprocessor performance optimizations, automatic tuning techniques, and an experimental analysis of the sparse matrix operation, y = A T Ax, where A is a sparse matrix and x, y are dense vectors. We describe an implementation of this computational kernel which brings A through the memory hierarchy only once, and which can be combined naturally with the register blocking optimization previously proposed in the Sparsity tuning system for sparse matrix-vector multiply. We evaluate these optimizations on a benchmark set of 44 matrices and 4 platforms, showing speedups of up to 4.2×. We also develop platform-specific upper-bounds on the performance of these implementations. We analyze how closely we can approach these bounds, and show when low-level tuning techniques (e.g., better instruction scheduling) are likely to yield a significant pay-o. Finally, we propose a hybrid o.-line/run-time heuristic which in practice automatically selects near-optimal values of the key tuning parameters, the register block sizes.
BibTeX
@inproceedings{vuduc2003memory,
author = {Rich Vuduc and Attila Gyulassy and James Demmel and Katherine A. Yelick},
title = {{Memory Hierarchy Optimizations and Performance ounds for Sparse A}},
booktitle = {International Conference on Computational Science},
year = {2003},
url = {https://openreview.net/forum?id=uFr4MhfxzS},
}Ask Althea to put this paper to the test.
Loading related content...