Affiliation:
1. Lawrence Berkeley National Laboratory
2. University of California, Berkeley, CA
3. Intel Corporation, Hillsboro, OR
Abstract
This article describes the design rationale, a C implementation, and conformance testing of a subset of the new Standard for the BLAS (Basic Linear Algebra Subroutines): Extended and Mixed Precision BLAS. Permitting higher internal precision and mixed input/output types and precisions allows us to implement some algorithms that are simpler, more accurate, and sometimes faster than possible without these features. The new BLAS are challenging to implement and test because there are many more subroutines than in the existing Standard, and because we must be able to assess whether a higher precision is used for internal computations than is used for either input or output variables. We have therefore developed an automated process of generating and systematically testing these routines. Our methodology is applicable to languages besides C. In particular, our algorithms used in the testing code will be valuable to all other BLAS implementors. Our extra precision routines achieve excellent performance---close to half of the machine peak Megaflop rate even for the Level 2 BLAS, when the data access is stride one.
Publisher
Association for Computing Machinery (ACM)
Subject
Applied Mathematics,Software
Reference51 articles.
1. Basic Linear Algebra Subprograms (BLAS) Standard. 2000. http://www.netlib.org/utk/papers/blast-forum.html. Basic Linear Algebra Subprograms (BLAS) Standard. 2000. http://www.netlib.org/utk/papers/blast-forum.html.
2. IEEE. 2001. 754 Revision. http://grouper.ieee.org/groups/754/. IEEE. 2001. 754 Revision. http://grouper.ieee.org/groups/754/.
3. Anderson E. Bai Z. Bischof C. Blackford S. Demmel J. Dongarra J. Du Croz J. Greenbaum A. Hammarling S. McKenney A. and Sorensen D. 1999. LAPACK Users' Guide Release 3.0. SIAM Philadelphia. Pa. Anderson E. Bai Z. Bischof C. Blackford S. Demmel J. Dongarra J. Du Croz J. Greenbaum A. Hammarling S. McKenney A. and Sorensen D. 1999. LAPACK Users' Guide Release 3.0. SIAM Philadelphia. Pa.
4. ANSI/IEEE Std. 754-1985. IEEE Standard for Binary Floating Point Arithmetic. ANSI/IEEE Std. 754-1985. IEEE Standard for Binary Floating Point Arithmetic.
5. ANSI/IEEE Std. 854-1987. IEEE Standard for Radix Independent Floating Point Arithmetic. ANSI/IEEE Std. 854-1987. IEEE Standard for Radix Independent Floating Point Arithmetic.
Cited by
126 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献