Numerical types - 5.2 English - 68552

AOCL API Guide (68552)

Document ID
68552
Release Date
2025-12-29
Version
5.2 English
typedef int32_t aoclsparse_int#

Specifies the size in bits of integer type to be used.

Typedef used to define the integer type this can be either 32-bit or 64-bit interger type.

This is determined at compile-time and can be specified using the CMake option

-DBUILD_ILP64=On|Off

Setting to On will use use 64-bit integer data type.
struct aoclsparse_float_complex#

Default complex float type.

User can redefine to accommodate custom complex float type definition.

Note

The library expects that complex numbers real and imaginary parts are contiguous in memory.

Public Members

float real#

Real part.

float imag#

Imaginary part.

struct aoclsparse_double_complex#

Default complex double type.

User can redefine to accommodate custom complex double type definition.

Note

The library expects that complex numbers real and imaginary parts are contiguous in memory.

Public Members

double real#

Real part.

double imag#

Imaginary part.