The API compatibility can be further extended to meet additional requirements for input sizes (ILP64) and different ways in which complex numbers are returned by functions in the BLAS interface, which is related to the choice of compiler. The following table explains such options, with the default setting in bold:
Build characteristic |
CMake options
————————————
configure options
|
Usage |
|---|---|---|
Choice of compiler and complex function return type |
-DCOMPLEX_RETURN=gnu
-DCOMPLEX_RETURN=intel CC=clang CXX=clang++
————————————
--complex-return=gnu
--complex-return=intel CC=clang CXX=clang++
|
GNU and AOCC (based on LLVM) are currently supported.
Refer to Returning Complex Numbers for more information.
|
Integer size (LP64 vs IP64) |
-DBLAS_INT_SIZE=32
-DBLAS_INT_SIZE=64
————————————
--blas-int-size=32
--blas-int-size=64
|
This option can be used to specify the integer types used in external BLAS and CBLAS interfaces.
|