Sun Studio 12: Fortran Library Reference

2.3.1 Basic Linear Algebra Functions (BLAS)

When compiling with -xknown_lib=blas, the compiler will recognize calls to the following routines as intrinsics and will optimize for and link to the Sun Performance Library implementation. The compiler will ignore user-supplied versions of these routines.

Table 2–2 BLAS Intrinsics

Function  

Description  

CAXPY

DAXPY

SAXPY

ZAXPY

Product of a scalar and a vector plus a vector 

CCOPY

DCOPY

SCOPY

ZCOPY

Copy a vector 

CDOTC

CDOTU

DDOT

SDOT

ZDOTC

ZDOTU

Dot product (inner product) 

CSCAL

DSCAL

SSCAL

ZSCAL

Scale a vector 

See the Sun Performance Library User’s Guide for more information on these routines.