ACM Home Page
Please provide us with feedback. Feedback
Auto-blocking matrix-multiplication or tracking BLAS3 performance from source code
Full text PdfPdf (1.06 MB)
Source Principles and Practice of Parallel Programming archive
Proceedings of the sixth ACM SIGPLAN symposium on Principles and practice of parallel programming table of contents
Las Vegas, Nevada, United States
Pages: 206 - 216  
Year of Publication: 1997
ISBN:0-89791-906-8
Also published in ...
Authors
Jeremy D. Frens  Computer Science Dept., Indiana University, Bloomington, Indiana
David S. Wise  Computer Science Dept., Indiana University, Bloomington, Indiana
Sponsor
SIGPLAN: ACM Special Interest Group on Programming Languages
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 7,   Downloads (12 Months): 53,   Citation Count: 31
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/263764.263789
What is a DOI?

ABSTRACT

An elementary, machine-independent, recursive algorithm for matrix multiplication C+=A*B provides implicit blocking at every level of the memory hierarchy and tests out faster than classically optimrd code, tracking hand-coded BLAS3 routines. Proof of concept is demonstrated by racing the in-place algorithm against manufacturer's hand-tuned BLAS3 routines; it can win.The recursive code bifurcates naturally at the top level into independent block-oriented processes, that each writes to a disjoint and contiguous region of memory. Experience has shown that the indexing vastly improves the patterns of memory access at all levels of the memory hierarchy, independently of the sizes of caches or pages and without ad hoc programming. It also exposed a weakness in SGI's C compilers that merrily unroll loops for the super-scalar R8000 processor, but do not analogously unfold the base cases of the most elementary recursions. Such deficiencies might deter future programmers from using this rich class of recursive algorithms.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

1
2
 
3
F.W. Burton & J. G. Kollias. Comment on 'The explicit quad tree as a structure for computer graphics.' Comput. J. 26, 2 (May 1983), 188.
4
5
6
 
7
J. Cohen & M. Roth. On the implementation of Strassen's fast multiplication algorithm. Acta Informat. 6, 4 (August 1976), 341-355.
8
9
10
11
12
 
13
J. Frens & D. S. Wise. Matrix inversion using quadtrees implemented in GOFER. Technical Report 433, Computer Science Dept., Indiana University (May 1995).
 
14
 
15
16
17
 
18
19
 
20
J. Spiess. Untersuchungen des Zeitgewinns durch neue Algorithmen zur Matrix-Multiplikation. Computing 17, 1 (1976), 23-36.
 
21
V. Strassen. Gaussian elimination is not optimal. Numer. Math. 13 (1969), 354-356.
22
23
 
24
D. S. Wise. Undulant block elimination and integerpreserving matrix inversion. Sci. Comput. Programming (to appear). Technical Report 418, Computer Science Department, Indiana University (revised, August 1995).

CITED BY  31

Collaborative Colleagues:
Jeremy D. Frens: colleagues
David S. Wise: colleagues