{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,5]],"date-time":"2026-10-05T10:15:47Z","timestamp":1791195347091,"version":"4.1.0"},"reference-count":42,"publisher":"Association for Computing Machinery (ACM)","issue":"1","license":[{"start":{"date-parts":[[2011,11,1]],"date-time":"2011-11-01T00:00:00Z","timestamp":1320105600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Math. Softw."],"published-print":{"date-parts":[[2011,11]]},"abstract":"<jats:p>We present a simple and efficient methodology for the development, tuning, and installation of matrix algorithms such as the hybrid Strassen's and Winograd's fast matrix multiply or their combination with the 3M algorithm for complex matrices (i.e., hybrid: a recursive algorithm as Strassen's until a highly tuned BLAS matrix multiplication allows performance advantages). We investigate how modern Symmetric Multiprocessor (SMP) architectures present old and new challenges that can be addressed by the combination of an algorithm design with careful and natural parallelism exploitation at the function level (optimizations) such as function-call parallelism, function percolation, and function software pipelining.<\/jats:p>\n          <jats:p>We have three contributions: first, we present a performance overview for double- and double-complex-precision matrices for state-of-the-art SMP systems; second, we introduce new algorithm implementations: a variant of the 3M algorithm and two new different schedules of Winograd's matrix multiplication (achieving up to 20% speedup with respect to regular matrix multiplication). About the latter Winograd's algorithms: one is designed to minimize the number of matrix additions and the other to minimize the computation latency of matrix additions; third, we apply software pipelining and threads allocation to all the algorithms and we show how this yields up to 10% further performance improvements.<\/jats:p>","DOI":"10.1145\/2049662.2049664","type":"journal-article","created":{"date-parts":[[2011,12,6]],"date-time":"2011-12-06T19:05:23Z","timestamp":1323198323000},"page":"1-30","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":18,"title":["Exploiting parallelism in matrix-computation kernels for symmetric multiprocessor systems"],"prefix":"10.1145","volume":"38","author":[{"given":"Paolo","family":"D'alberto","sequence":"first","affiliation":[{"name":"Yahoo!, Sunnivale, CA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Marco","family":"Bodrato","sequence":"additional","affiliation":[{"name":"University of Rome II, Tor Vergata, Italy"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Alexandru","family":"Nicolau","sequence":"additional","affiliation":[{"name":"University of California at Irvine, CA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2011,12,7]]},"reference":[{"key":"e_1_2_1_1_1","unstructured":"Anderson E. Bai Z. Bischof C. Dongarra J. D. J. DuCroz J. Greenbaum A. Hammarling S. McKenney A. Ostrouchov S. and Sorensen D. 1995. LAPACK User' Guide Release 2.0 2. SIAM.  Anderson E. Bai Z. Bischof C. Dongarra J. D. J. DuCroz J. Greenbaum A. Hammarling S. McKenney A. Ostrouchov S. and Sorensen D. 1995. LAPACK User' Guide Release 2.0 2. SIAM."},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1145\/263580.263662"},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1145\/567806.567807"},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1145\/1837934.1837987"},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1145\/1576702.1576713"},{"key":"e_1_2_1_6_1","volume-title":"Algorithms for matrix multiplication. Tech. rep. TR-CS-70-157","author":"Brent R. P.","unstructured":"Brent , R. P. 1970a. Algorithms for matrix multiplication. Tech. rep. TR-CS-70-157 , Stanford University . Brent, R. P. 1970a. Algorithms for matrix multiplication. Tech. rep. TR-CS-70-157, Stanford University."},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1007\/BF02308867"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.1109\/SFCS.2005.39"},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.1145\/28395.28396"},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1145\/1274971.1275010"},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1145\/1486525.1486528"},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1109\/JPROC.2004.840848"},{"key":"e_1_2_1_13_1","unstructured":"Demmel J. Dumitriu J. Holtz O. and Kleinberg R. 2006. Fast matrix multiplication is stable. http:\/\/arnetminer.org\/viewpub.do?pid=822030.  Demmel J. Dumitriu J. Holtz O. and Kleinberg R. 2006. Fast matrix multiplication is stable. http:\/\/arnetminer.org\/viewpub.do?pid=822030."},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1145\/131766.131769"},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.1145\/77626.77627"},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1145\/77626.79170"},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.1006\/jcph.1994.1001"},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.1145\/1391989.1391992"},{"key":"e_1_2_1_19_1","volume-title":"Proceedings the Workshop on Algorithm Engineering (WAE'98)","author":"Eiron N.","unstructured":"Eiron , N. , Rodeh , M. , and Steinwarts , I . 1998. Matrix multiplication: A case study of algorithm engineering . In Proceedings the Workshop on Algorithm Engineering (WAE'98) . Eiron, N., Rodeh, M., and Steinwarts, I. 1998. Matrix multiplication: A case study of algorithm engineering. In Proceedings the Workshop on Algorithm Engineering (WAE'98)."},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1145\/263767.263789"},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1109\/JPROC.2004.840301"},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.1145\/1356052.1356053"},{"key":"e_1_2_1_23_1","doi-asserted-by":"publisher","DOI":"10.1145\/504210.504213"},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.1145\/98267.98290"},{"key":"e_1_2_1_25_1","volume-title":"Accuracy and Stability of Numerical Algorithms","author":"Higham N.","unstructured":"Higham , N. 2002. Accuracy and Stability of Numerical Algorithms , 2 nd Ed. SIAM. Higham, N. 2002. Accuracy and Stability of Numerical Algorithms, 2nd Ed. SIAM.","edition":"2"},{"key":"e_1_2_1_26_1","doi-asserted-by":"crossref","unstructured":"Huss-Lederman S. Jacobson E. Johnson J. Tsao A. and Turnbull T. 1996a. Strassen's algorithm for matrix multiplication: Modeling analysis and implementation. Tech. rep. CCS-TR-96-14 Center for Computing Sciences.  Huss-Lederman S. Jacobson E. Johnson J. Tsao A. and Turnbull T. 1996a. Strassen's algorithm for matrix multiplication: Modeling analysis and implementation. Tech. rep. CCS-TR-96-14 Center for Computing Sciences.","DOI":"10.1145\/369028.369096"},{"key":"e_1_2_1_27_1","doi-asserted-by":"publisher","DOI":"10.1145\/369028.369096"},{"key":"e_1_2_1_28_1","volume-title":"An Introduction to Parallel Algorithms","author":"J\u00e1J\u00e1 J.","unstructured":"J\u00e1J\u00e1 , J. 1992. An Introduction to Parallel Algorithms . Addison Wesley Longman Publishing Co., Inc. , CA. J\u00e1J\u00e1, J. 1992. An Introduction to Parallel Algorithms. Addison Wesley Longman Publishing Co., Inc., CA."},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.1145\/292395.292426"},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.1145\/292395.292412"},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.1002\/(SICI)1099-1506(199912)6:8<687::AID-NLA177>3.0.CO;2-I"},{"key":"e_1_2_1_32_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.tcs.2004.01.004"},{"key":"e_1_2_1_33_1","doi-asserted-by":"publisher","DOI":"10.1145\/355841.355847"},{"key":"e_1_2_1_34_1","unstructured":"Loos S. and Wise D. Strassen's matrix multiplication relabeled. http:\/src.acm.org\/loos\/loos.html.  Loos S. and Wise D. Strassen's matrix multiplication relabeled. http:\/src.acm.org\/loos\/loos.html."},{"key":"e_1_2_1_35_1","doi-asserted-by":"publisher","DOI":"10.1145\/1504176.1504207"},{"key":"e_1_2_1_36_1","doi-asserted-by":"publisher","DOI":"10.1109\/SFCS.1978.34"},{"key":"e_1_2_1_37_1","doi-asserted-by":"publisher","DOI":"10.1137\/1026076"},{"key":"e_1_2_1_38_1","doi-asserted-by":"publisher","DOI":"10.1109\/ARITH.1991.145549"},{"key":"e_1_2_1_39_1","volume-title":"SPIRAL: Code generation for DSP transforms. Proc","author":"P\u00fcschel M.","year":"2005","unstructured":"P\u00fcschel , M. , Moura , J. , Johnson , J. , Padua , D. , Veloso , M. , Singer , B. , Xiong , J. , Franchetti , F. , Ga\u010di\u0107 , A. , Voronenko , Y. , Chen , K. , Johnson , R. , and Rizzolo , N . 2005 . SPIRAL: Code generation for DSP transforms. Proc . IEEE, special issue on \u201cProgram Generation, Optimization, and Adaptation\u201d 93, 2. P\u00fcschel, M., Moura, J., Johnson, J., Padua, D., Veloso, M., Singer, B., Xiong, J., Franchetti, F., Ga\u010di\u0107, A., Voronenko, Y., Chen, K., Johnson, R., and Rizzolo, N. 2005. SPIRAL: Code generation for DSP transforms. Proc. IEEE, special issue on \u201cProgram Generation, Optimization, and Adaptation\u201d 93, 2."},{"key":"e_1_2_1_40_1","doi-asserted-by":"publisher","DOI":"10.1007\/BF02165411"},{"key":"e_1_2_1_41_1","volume-title":"Proceedings of the ACM\/IEEE Conference on Supercomputing (CDROM). IEEE Computer Society, 1--27","author":"Whaley R.","unstructured":"Whaley , R. and Dongarra , J . 1998. Automatically tuned linear algebra software . In Proceedings of the ACM\/IEEE Conference on Supercomputing (CDROM). IEEE Computer Society, 1--27 . Whaley, R. and Dongarra, J. 1998. Automatically tuned linear algebra software. In Proceedings of the ACM\/IEEE Conference on Supercomputing (CDROM). IEEE Computer Society, 1--27."},{"key":"e_1_2_1_42_1","doi-asserted-by":"publisher","DOI":"10.1002\/spe.v35:2"}],"container-title":["ACM Transactions on Mathematical Software"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/2049662.2049664","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/2049662.2049664","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T20:26:41Z","timestamp":1750278401000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/2049662.2049664"}},"subtitle":["Matrix-multiplication and matrix-addition algorithm optimizations by software pipelining and threads allocation"],"short-title":[],"issued":{"date-parts":[[2011,11]]},"references-count":42,"journal-issue":{"issue":"1","published-print":{"date-parts":[[2011,11]]}},"alternative-id":["10.1145\/2049662.2049664"],"URL":"https:\/\/doi.org\/10.1145\/2049662.2049664","relation":{},"ISSN":["0098-3500","1557-7295"],"issn-type":[{"value":"0098-3500","type":"print"},{"value":"1557-7295","type":"electronic"}],"subject":[],"published":{"date-parts":[[2011,11]]},"assertion":[{"value":"2009-12-01","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2010-11-01","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2011-12-07","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}