aoclsparse_destroy() - 5.2 English - 68552

AOCL API Guide (68552)

Document ID
68552
Release Date
2025-12-29
Version
5.2 English
aoclsparse_status aoclsparse_destroy(aoclsparse_matrix *mat)#

Destroy a sparse matrix structure.

aoclsparse_destroy destroys a structure that holds matrix mat.

Parameters:

mat[in] the pointer to the sparse matrix.

Return values:
  • aoclsparse_status_success – the operation completed successfully.

  • aoclsparse_status_invalid_pointermatrix structure pointer is invalid.