Using the Basic Linear Algebra Subprograms - BLAS
Four Basic Linear Algebra Subprograms (BLAS) functions are shipped with the IBM® Open XL C/C++ compiler in
the libxlopt library.
sgemv(single-precision) anddgemv(double-precision), which compute the matrix-vector product and sum for a general matrix or its transposesgemm(single-precision) anddgemm(double-precision), which perform combined matrix multiplication and addition for general matrices or their transposes
- Some error-handling code has been removed from the BLAS functions in
libxlopt, and no error messages are emitted for calls to the these functions. - The BLAS functions in
libxloptsupport 4-byte default integer size (-qintsize=4) only. You must link in an appropriate BLAS library if your program calls SGEMV, DGEMV, SGEMM, or DGEMM and is compiled with other default integer sizes.
BLAS function syntax describes the prototypes and parameters for the IBM Open XL C/C++ BLAS functions. The interfaces for these functions are similar to those of the equivalent BLAS functions shipped in IBM's Engineering and Scientific Subroutine Library (ESSL); for more information and examples of usage of these functions, see Engineering and Scientific Subroutine Library Guide and Reference, available at the Engineering and Scientific Subroutine Library (ESSL) and Parallel ESSL web page.
Linking the libxlopt library describes how to link to the IBM Open XL C/C++
libxlopt library if you are also using a third-party BLAS library.