Basic Linear Algebra Subprograms (BLAS) and C BLAS (CBLAS)
The following information lists the ESSL subprograms corresponding to a subprogram in the standard set of BLAS and CBLAS.
Level 1 BLAS
|Descriptive Name||Short-Precision Subprogram||Long-Precision Subprogram|
|ISAMAX, IDAMAX, ICAMAX, and IZAMAX (Position of the First or Last Occurrence of the Vector Element Having the Largest Magnitude)||
|SASUM, DASUM, SCASUM, and DZASUM (Sum of the Magnitudes of the Elements in a Vector)||
|SAXPY, DAXPY, CAXPY, and ZAXPY (Multiply a Vector X by a Scalar, Add to a Vector Y, and Store in the Vector Y)||
|SCOPY, DCOPY, CCOPY, and ZCOPY (Copy a Vector)||
|SDOT, DDOT, CDOTU, ZDOTU, CDOTC, and ZDOTC (Dot Product of Two Vectors)||
|SNRM2, DNRM2, SCNRM2, and DZNRM2 (Euclidean Length of a Vector with Scaling of Input to Avoid Destructive Underflow and Overflow)||
|SROTG, DROTG, CROTG, and ZROTG (Construct a Givens Plane Rotation)||
|SROT, DROT, CROT, ZROT, CSROT, and ZDROT (Apply a Plane Rotation)||
|SROTMG and DROTMG (Construct a modified Givens Transformation)||
|SROTM and DROTM (Apply a modified Givens Transformation)||
|SSCAL, DSCAL, CSCAL, ZSCAL, CSSCAL, and ZDSCAL (Multiply a Vector X by a Scalar and Store in the Vector X)||
|SSWAP, DSWAP, CSWAP, and ZSWAP (Interchange the Elements of Two Vectors)||
Level 2 BLAS
Level 3 BLAS
Note: xerbla is not used by ESSL but is included in the ESSL libraries for use in other programming environments (for example, Python).
Note the following about the CBLAS subroutines:
- The definitions of the CBLAS data types and prototypes are included in the ESSL header files.
In the beginning of your program, before you call any of the CBLAS subroutines, you must code the
following statement for the ESSL header file:
- CBLAS enumerated types have changed to type definitions for ESSL Version 5 Release 5 and changes are required if you used enumerated types. See Migrating Programs from ESSL for Linux on Power Version 5 Release 4 to Version 5 Release 5 for the required changes to your existing programs
- For information about CBLAS calling sequences, see Syntax and .