-
typedef struct _aoclsparse_matrix *aoclsparse_matrix#
Matrix object.
This structure holds the matrix data. It is initialized using e.g. aoclsparse_create_scsr (or other variants, see table below). The returned matrix object needs be passed to all subsequent library calls that involve the matrix. It should be destroyed at the end using aoclsparse_destroy.
Table 11.2 Initialization of matrix objects.# Storage
Initialization function
s, d, c, z
aoclsparse_create_Pcsrs, d, c, z
aoclsparse_create_Pcscs, d, c, z
aoclsparse_create_Pcoos, d, c, z
aoclsparse_create_Ptcsr
-
typedef struct _aoclsparse_mat_descr *aoclsparse_mat_descr#
Matrix object descriptor.
This structure holds properties describing a matrix and how to access its data. It must be initialized using aoclsparse_create_mat_descr and the returned descriptor object is passed to all subsequent library calls that involve the matrix. It is destroyed by using aoclsparse_destroy_mat_descr.