{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,7,9]],"date-time":"2026-07-09T07:15:41Z","timestamp":1783581341232,"version":"3.55.0"},"reference-count":30,"publisher":"Association for Computing Machinery (ACM)","issue":"2","license":[{"start":{"date-parts":[[2021,4,20]],"date-time":"2021-04-20T00:00:00Z","timestamp":1618876800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"funder":[{"name":"Oracle, Huawei, and the National Science Foundation","award":["ACI-1550493 NSF, ACI-1714091 NSF, and CSSI-2003921 NSF"],"award-info":[{"award-number":["ACI-1550493 NSF, ACI-1714091 NSF, and CSSI-2003921 NSF"]}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Math. Softw."],"published-print":{"date-parts":[[2021,6,30]]},"abstract":"<jats:p>\n            We approach the problem of implementing mixed-datatype support within the general matrix multiplication (\n            <jats:sc>gemm<\/jats:sc>\n            ) operation of the BLAS-like Library Instantiation Software framework, whereby each matrix operand\n            <jats:italic toggle=\"yes\">A<\/jats:italic>\n            ,\n            <jats:italic toggle=\"yes\">B<\/jats:italic>\n            , and\n            <jats:italic toggle=\"yes\">C<\/jats:italic>\n            may be stored as single- or double-precision real or complex values. Another factor of complexity, whereby the matrix product and accumulation are allowed to take place in a precision different from the storage precisions of either\n            <jats:italic toggle=\"yes\">A<\/jats:italic>\n            or\n            <jats:italic toggle=\"yes\">B<\/jats:italic>\n            , is also discussed. We first break the problem into orthogonal dimensions, considering the mixing of domains separately from mixing precisions. Support for all combinations of matrix operands stored in either the real or complex domain is mapped out by enumerating the cases and describing an implementation approach for each. Supporting all combinations of storage and computation precisions is handled by typecasting the matrices at key stages of the computation\u2014during packing and\/or accumulation, as needed. Several optional optimizations are also documented. Performance results gathered on a 56-core Marvell ThunderX2 and a 52-core Intel Xeon Platinum demonstrate that high performance is mostly preserved, with modest slowdowns incurred from unavoidable typecast instructions. The mixed-datatype implementation confirms that combinatorial intractability is avoided, with the framework relying on only two assembly microkernels to implement 128 datatype combinations.\n          <\/jats:p>","DOI":"10.1145\/3402225","type":"journal-article","created":{"date-parts":[[2021,4,20]],"date-time":"2021-04-20T19:08:06Z","timestamp":1618945686000},"page":"1-26","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":6,"title":["Supporting Mixed-domain Mixed-precision Matrix Multiplication within the BLIS Framework"],"prefix":"10.1145","volume":"47","author":[{"given":"Field G.","family":"Van Zee","sequence":"first","affiliation":[{"name":"The University of Texas at Austin, TX"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Devangi N.","family":"Parikh","sequence":"additional","affiliation":[{"name":"The University of Texas at Austin, TX"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Robert A. Van De","family":"Geijn","sequence":"additional","affiliation":[{"name":"The University of Texas at Austin, TX"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2021,4,20]]},"reference":[{"key":"e_1_2_2_1_1","unstructured":"E. Apra E. J. Bylaska W. A. de Jong N. Govind K. Kowalski T. P. Straatsma M. Valiev H. J. J. van Dam D. Wang T. L. Windus J. Hammond J. Autschbach K. Bhaskaran-Nair J. Brabec K. Lopata S. A. Fischer S. Krishnamoorthy M. Jacquelin W. Ma M. Klemm O. Villa Y. Chen V. Anisimov F. Aquino S. Hirata M. T. Hackler V. Konjkov D. Mejia-Rodriguez T. Risthaus M. Malagoli A. Marenich A. Otero de-la Roza J. Mullin P. Nichols R. Peverati J. Pittner Y. Zhao P.-D. Fan A. Fonari M. J. Williamson R. J. Harrison J. R. Rehr M. Dupuis D. Silverstein D. M. A. Smith J. Nieplocha V. Tipparaju M. Krishnan B. E. Van Kuiken A. Vazquez-Mayagoitia L. Jensen M. Swart Q. Wu T. Van Voorhis A. A. Auer M. Nooijen L. D. Crosby E. Brown G. Cisneros G. I. Fann H. Fruchtl J. Garza K. Hirao R. A. Kendall J. A. Nichols K. Tsemekhman K. Wolinski J. Anchell D. E. Bernholdt P. Borowski T. Clark D. Clerc H. Dachsel M. J. O. Deegan K. Dyall D. Elwood E. Glendening M. Gutowski A. C. Hess J. Jaffe B. G. Johnson J. Ju R. Kobayashi R. Kutteh Z. Lin R. Littlefield X. Long B. Meng T. Nakajima S. Niu L. Pollack M. Rosing K. Glaesemann G. Sandrone M. Stave H. Taylor G. Thomas J. H. van Lenthe A. T. Wong and Z. Zhang. 2018. NWChem A Computational Chemistry Package for Parallel Computers Version 6.8 https:\/\/www.nwchem-sw.org\/blas."},{"key":"e_1_2_2_2_1","unstructured":"BLAS. 2019. Retrieved from http:\/\/www.netlib.org\/blas."},{"key":"e_1_2_2_3_1","article-title":"Basic linear algebra subprograms technical forum standard","volume":"16","author":"BLAS.","year":"2002","unstructured":"BLAS. 2002. Basic linear algebra subprograms technical forum standard. Int. J. High Perform. Appl. Supercomput. 16, 1 (2002).","journal-title":"Int. J. High Perform. Appl. Supercomput."},{"key":"e_1_2_2_4_1","unstructured":"BLIS. 2019. Retrieved from https:\/\/github.com\/flame\/blis."},{"key":"e_1_2_2_5_1","unstructured":"Patrick Bridges Nathan Doss William Gropp Edward Karrels Ewing Lusk and Anthony Skjellum. 1995. User\u2019s Guide for mpich a Portable Implementation of MPI. Argonne National Laboratory."},{"key":"e_1_2_2_6_1","doi-asserted-by":"publisher","DOI":"10.1103\/PhysRevA.85.022507"},{"key":"e_1_2_2_7_1","doi-asserted-by":"publisher","DOI":"10.1002\/9780470125915.ch2"},{"key":"e_1_2_2_8_1","doi-asserted-by":"publisher","DOI":"10.1145\/77626.79170"},{"key":"e_1_2_2_9_1","doi-asserted-by":"publisher","DOI":"10.1145\/1356052.1356053"},{"key":"e_1_2_2_10_1","doi-asserted-by":"publisher","DOI":"10.1145\/1377603.1377607"},{"key":"e_1_2_2_11_1","unstructured":"Kazushige Goto and Robert A. van de Geijn. 2002. On Reducing TLB Misses in Matrix Multiplication. Technical Report TR-02-55. Department of Computer Sciences The University of Texas at Austin."},{"key":"e_1_2_2_12_1","unstructured":"W. Gropp E. Lusk and A. Skjellum. 1994. Using MPI. The MIT Press."},{"key":"e_1_2_2_13_1","doi-asserted-by":"publisher","DOI":"10.1109\/IPDPS.2017.56"},{"key":"e_1_2_2_14_1","volume-title":"Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis (SC\u201916)","author":"Huang Jianyu","unstructured":"Jianyu Huang, Tyler M. Smith, Greg M. Henry, and Robert A. van de Geijn. 2016. Strassen\u2019s algorithm reloaded. In Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis (SC\u201916). IEEE Press, Piscataway, NJ, Article 59, 12 pages. Retrieved from http:\/\/dl.acm.org\/citation.cfm?id&equals;3014904.3014983."},{"key":"e_1_2_2_15_1","doi-asserted-by":"publisher","DOI":"10.1146\/annurev-physchem-052516-050622"},{"key":"e_1_2_2_16_1","unstructured":"Daya S. Khudia Protonu Basu and Summer Deng. 2018. Open-sourcing FBGEMM for state-of-the-art server-side inference. Retrieved from https:\/\/code.fb.com\/ml-applications\/fbgemm\/."},{"key":"e_1_2_2_17_1","doi-asserted-by":"publisher","DOI":"10.1063\/1.3173828"},{"key":"e_1_2_2_18_1","volume-title":"Yoo","author":"Li Xiaoye S.","year":"2000","unstructured":"Xiaoye S. Li, James W. Demmel, David H. Bailey, Greg Henry, Yozo Hida, Jimmy Iskandar, W. Kahan, Anil Kapur, Michael C. Martin, Brandon J. Thompson, Teresa Tung, and Daniel J. Yoo. 2000. Design, Implementation and Testing of Extended and Mixed Precision BLAS. LAPACK Working Note 149."},{"key":"e_1_2_2_19_1","doi-asserted-by":"publisher","DOI":"10.1137\/16M108968X"},{"key":"e_1_2_2_20_1","doi-asserted-by":"publisher","DOI":"10.1002\/qua.560440808"},{"key":"e_1_2_2_21_1","unstructured":"OpenBLAS 2019. Retrieved from https:\/\/github.com\/xianyi\/OpenBLAS."},{"key":"e_1_2_2_22_1","volume-title":"Proceedings of the IEEE 28th International Parallel and Distributed Processing Symposium. IEEE, 1049--1059","author":"Smith Tyler M.","unstructured":"Tyler M. Smith, Robert van de Geijn, Mikhail Smelyanskiy, Jeff R. Hammond, and Field G. Van Zee. 2014. Anatomy of high-performance many-threaded matrix multiplication. In Proceedings of the IEEE 28th International Parallel and Distributed Processing Symposium. IEEE, 1049--1059."},{"key":"e_1_2_2_23_1","volume-title":"MPI: The Complete Reference","author":"Snir Marc","year":"1996","unstructured":"Marc Snir, Steve W. Otto, Steven Huss-Lederman, David W. Walker, and Jack Dongarra. 1996. MPI: The Complete Reference. The MIT Press."},{"key":"e_1_2_2_24_1","doi-asserted-by":"publisher","DOI":"10.1016\/S0009-2614(97)01144-5"},{"key":"e_1_2_2_25_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.cpc.2010.04.018"},{"key":"e_1_2_2_26_1","doi-asserted-by":"publisher","DOI":"10.1137\/19M1282040"},{"key":"e_1_2_2_27_1","doi-asserted-by":"publisher","DOI":"10.1145\/3086466"},{"key":"e_1_2_2_28_1","doi-asserted-by":"publisher","DOI":"10.1145\/2764454"},{"key":"e_1_2_2_29_1","unstructured":"XBLAS 2019. Retrieved from http:\/\/www.netlib.org\/xblas."},{"key":"e_1_2_2_30_1","doi-asserted-by":"publisher","DOI":"10.1145\/2807591.2807601"}],"container-title":["ACM Transactions on Mathematical Software"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3402225","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3402225","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,7,14]],"date-time":"2025-07-14T22:26:43Z","timestamp":1752532003000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3402225"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2021,4,20]]},"references-count":30,"journal-issue":{"issue":"2","published-print":{"date-parts":[[2021,6,30]]}},"alternative-id":["10.1145\/3402225"],"URL":"https:\/\/doi.org\/10.1145\/3402225","relation":{},"ISSN":["0098-3500","1557-7295"],"issn-type":[{"value":"0098-3500","type":"print"},{"value":"1557-7295","type":"electronic"}],"subject":[],"published":{"date-parts":[[2021,4,20]]},"assertion":[{"value":"2019-01-01","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2020-05-01","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2021-04-20","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}