Using Ginkgo's memory accessor for improving the accuracy of memory‐bound low precision BLAS. (17th October 2021)
- Record Type:
- Journal Article
- Title:
- Using Ginkgo's memory accessor for improving the accuracy of memory‐bound low precision BLAS. (17th October 2021)
- Main Title:
- Using Ginkgo's memory accessor for improving the accuracy of memory‐bound low precision BLAS
- Authors:
- Grützmacher, Thomas
Anzt, Hartwig
Quintana‐Ortí, Enrique S. - Other Names:
- Chandrasekaran Sunita guestEditor.
Si Min guestEditor.
Zhai Jidong guestEditor.
Oden Lena guestEditor. - Abstract:
- Abstract: The roofline model not only provides a powerful tool to relate an application's performance with the specific constraints imposed by the target hardware but also offers a graphic representation of the balance between memory access cost and compute throughput. In this work, we present a strategy to break up the tight coupling between the precision format used for arithmetic operations and the storage format employed for memory operations. (At a high level, this idea is equivalent to compressing/decompressing the data in registers before/after invoking store/load memory operations.) In practice, we demonstrate that a "memory accessor" that hides the data compression behind the memory access, can virtually push the bandwidth‐induced roofline, yielding higher performance for memory‐bound applications using high precision arithmetic that can handle the numerical effects associated with lossy compression. We also demonstrate that memory‐bound applications operating on low precision data can increase the accuracy by relying on the memory accessor to perform all arithmetic operations in high precision. In particular, we demonstrate that memory‐bound BLAS operations (including the sparse matrix‐vector product) can be re‐engineered with the memory accessor and that the resulting accessor‐enabled BLAS routines achieve lower rounding errors while delivering the same performance as the fast low precision BLAS.
- Is Part Of:
- Software, practice & experience. Volume 53:Number 1(2023)
- Journal:
- Software, practice & experience
- Issue:
- Volume 53:Number 1(2023)
- Issue Display:
- Volume 53, Issue 1 (2023)
- Year:
- 2023
- Volume:
- 53
- Issue:
- 1
- Issue Sort Value:
- 2023-0053-0001-0000
- Page Start:
- 81
- Page End:
- 98
- Publication Date:
- 2021-10-17
- Subjects:
- accessor -- floating‐point formats -- high performance -- memory‐bound algorithms -- mixed precision -- roofline model
Computer software -- Periodicals
Computer programming -- Periodicals
Computer programs -- Periodicals
005.3 - Journal URLs:
- http://onlinelibrary.wiley.com/ ↗
- DOI:
- 10.1002/spe.3041 ↗
- Languages:
- English
- ISSNs:
- 0038-0644
- Deposit Type:
- Legaldeposit
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library DSC - 8321.453000
British Library DSC - BLDSS-3PM
British Library STI - ELD Digital store - Ingest File:
- 24738.xml