13.07.2015 Views

Intel(R) Math Kernel Library for Linux* OS User's Guide

Intel(R) Math Kernel Library for Linux* OS User's Guide

Intel(R) Math Kernel Library for Linux* OS User's Guide

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Intel</strong>® <strong>Math</strong> <strong>Kernel</strong> <strong>Library</strong> Structure 3To migrate to ILP64 or write new code <strong>for</strong> ILP64, use appropriate types <strong>for</strong> parameters ofthe <strong>Intel</strong> MKL functions and subroutines (see Table 3-5):Table 3-5Integer Types32-bit integersUniversal integers <strong>for</strong> ILP64/LP64:• 64-bit <strong>for</strong> ILP64• 32-bit otherwiseUniversal integers <strong>for</strong> ILP64/LP64:• 64-bit integersFFT interface integers <strong>for</strong> ILP64/LP64FortranINTEGER*4 orINTEGER(KIND=4)INTEGERwithout specifying KINDINTEGER*8 orINTEGER(KIND=8)INTEGERwithout specifying KINDC or C++intMKL_INTMKL_INT64MKL_LONGBrowsing the <strong>Intel</strong> MKL Include FilesThe Reference Manual does not explain which integer parameters of a function become64-bit and which remain 32-bit <strong>for</strong> ILP64. To get to know this, browse the include files,examples, and tests <strong>for</strong> the ILP64 interface details. For the location of these files, seeTable 3-2. Start with browsing the include files, listed in Table A-2.Some function domains that support only a Fortran interface (see Table A-1) provideheader files <strong>for</strong> C/C++ in the include directory. Such *.h files enable using a Fortran binaryinterface from C/C++ code. These files can also be used to understand the ILP64 usage.LimitationsAll <strong>Intel</strong> MKL function domains support ILP64 programming with the following exceptions:• FFTW interfaces to <strong>Intel</strong> MKL:— FFTW 2.x wrappers do not support ILP64.— FFTW 3.2 wrappers support ILP64 by a dedicated set of functions plan_guru64.• GMP* arithmetic functions do not support ILP64.3-7

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!