Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

Typos in the mkl_spblas.h?

Nishimura__Akihiko
388 Views

Some of the function declarations in mkl_spblas.h do not agree with the documentation. In particular, in the create and export routines, the parameter names for the CSC format coincide with those for CSR format, which I don't believe accurately describes the nature of the parameters (e.g. `rows_start` and `col_indx` should be `cols_start` and `row_indx`). 

Below are a few of the declarations I find in the mkl_spblas.h file:

sparse_status_t mkl_sparse_d_create_csc(
                                             sparse_matrix_t           *A,
                                             const sparse_index_base_t indexing, /* indexing: C-style or Fortran-style */
                                             const MKL_INT             rows,
                                             const MKL_INT             cols,
                                             MKL_INT             *rows_start,
                                             MKL_INT             *rows_end,
                                             MKL_INT             *col_indx,
                                             double              *values );
/* cf. https://software.intel.com/en-us/mkl-developer-reference-c-mkl-sparse-create-csc */

sparse_status_t mkl_sparse_d_export_csc(
                                             const sparse_matrix_t  source,
                                             sparse_index_base_t    *indexing,      /* indexing: C-style or Fortran-style */
                                             MKL_INT                *rows,
                                             MKL_INT                *cols,
                                             MKL_INT                **rows_start,
                                             MKL_INT                **rows_end,
                                             MKL_INT                **col_indx,
                                             double                 **values );
/* cf. https://software.intel.com/en-us/mkl-developer-reference-c-mkl-sparse-export-csc */

0 Kudos
2 Replies
Gennady_F_Intel
Moderator
388 Views

Yes. Thank you for the notice. We will fix this typos.

0 Kudos
Gennady_F_Intel
Moderator
388 Views

the issue is escalated and we will keep you informed when the problem will be fixed. thanks again.

0 Kudos
Reply