rocBLAS datatypes#

rocblas_handle#

typedef struct _rocblas_handle *rocblas_handle#

rocblas_handle is a structure holding the rocBLAS library context. It must be initialized using rocblas_create_handle(), and the returned handle must be passed to all subsequent library function calls. It should be destroyed at the end using rocblas_destroy_handle().

rocblas_int#

typedef int32_t rocblas_int#

Specifies whether int32 is used for LP64 or int64 is used for ILP64. This define is deprecated. It was never tested and has been replaced by other interfaces.

rocblas_stride#

typedef int64_t rocblas_stride#

Stride between matrices or vectors in strided_batched functions.

rocblas_half#

struct rocblas_half#

Structure to represent an unsigned 16-bit integer type.

rocblas_bfloat16#

struct rocblas_bfloat16#

Struct to represent a 16-bit Brain floating-point number.

rocblas_float_complex#

struct rocblas_float_complex#

Struct to represent a complex number with single-precision real and imaginary parts.

rocblas_double_complex#

struct rocblas_double_complex#

Struct to represent a complex number with double-precision real and imaginary parts.