Intel® Math Kernel Library 11.3 Update 4 Developer Guide

Using the SP2DP Interface

Note

SP2DP Interface is deprecated and may be removed in a future release.

If your application is targeted to the Intel 64 architecture and uses Cray*-style naming and ILP64 interface, SP2DP interface enables you to call Intel MKL BLAS and/or LAPACK functions from your application with minimal changes to the code.

SP2DP interface maps single-precision names (for both real and complex types) in the application to double-precision names in Intel MKL BLAS and LAPACK. Function names are mapped as shown in the following example for BLAS functions ?GEMM:

SGEMM -> DGEMM

DGEMM -> DGEMM

CGEMM -> ZGEMM

ZGEMM -> ZGEMM

Note

No changes are made to double-precision names.

The SP2DP interface is implemented in the Interface layer. To use the SP2DP interface, link your application with the following interface library:

For example, use the following link line to statically link your Fortran application with the threaded version of Intel MKL using the SP2DP interface:

ifort myprog.f -L$MKLPATH -I$MKLINCLUDE

-Wl,--start-group $MKLPATH/libmkl_intel_sp2dp.a $MKLPATH/libmkl_intel_thread.a

$MKLPATH/libmkl_core.a -Wl,--end-group -liomp5 -lpthread -lm

See Also