aoclsparse_destroy() - aoclsparse_destroy() - 5.3 English - 68552

AOCL API Guide (68552)

Document_ID
68552
Release_Date
2026-05-13
Version
5.3 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_pointer – matrix structure pointer is invalid.