Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!

error on description page

Robert_E_
Beginner
103 Views

There is a line of code on two-stage-algorithm-for-inspector-executor-sparse-blas-routines that seems to be incorrect

 

status = mkl_sparse_x_export_csr ( csrC, &indexing, &rows, &cols, &rows_start, &rows_end, &col_indx, &values);

MKL_INT nnz = rows_end[rows] - rows_start[0];

"rows_end[rows]" accesses uninitialized space. "rows_end[rows - 1]" addresses the last element.

0 Kudos
2 Replies
Kirill_V_Intel
Employee
103 Views

Hello Franz,

Thanks for the catch, we'll correct the documentation page.

Best,
Kirill

Gennady_F_Intel
Moderator
103 Views

The problem has been fixed in MKL v.2020 which is available for download.

 

Reply