4.1.4. API Compatibility - Advanced Options - 5.2 English - 57404

AOCL User Guide (57404)

Document ID
57404
Release Date
2025-12-29
Version
5.2 English

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:

Table 4.3 AOCL-BLAS Compatibility Advanced Options#

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.