v0.10.0.0
Pre-release
Pre-release
Notable Changes
This release introduces breaking API changes from the prior version. clSPARSE is still in a beta phase, and we may need to change the API at times to increase maintainability or fix design issues. A few changes are introduced to more closely follow the recently published Cpp Core Guidelines, a strong candidate for a coding guidelines to be used in clSPARSE.
- The API to create meta data for a csr encoded sparse matrix has changed. This is an attempt to hide the implementation details of how meta data is stored from the user. This allows the library freedom to change and iterate meta data without breaking clients.
clsparseCsrMetaCompute()
renamed toclsparseCsrMetaCreate()
, to more intuitively pair with the- New API
clsparseCsrMetaDelete()
- A few routines changed pure 'out' parameters to be returned on the stack as structs
clsparseCreateControl()
clsparseGetEvent()
clsparseCreateSolverControl()
clsparseCsrMetaSize()
- A new index type has been introduced
clsparseIdx_t
to abstract the size of an index from the library interface; the only choice currently is 4 bytes. If users use this datatype for indices in their code, changing to 8-byte indices in the future should only be a recompile. - The names of member variables in our public structs have been renamed for consistency. Before, our member variables was not consistent with camel case and underscore naming. Member variables are now standardized to use underscores, but we keep camel casing for function and struct names
colIndices
tocol_indices
rowIndices
torow_indices
rowOffsets
torow_pointer
(renamed to pointer to remove confusion with buffer offsets for cl1.2)offValues
tooff_values
offColInd
tooff_col_indices
offRowOff
tooff_row_pointer
offValues
tooff_values
- All samples have been changed to compile with the above changes.