Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
6590 Discussions

Error in docs for mkl_sparse_?_sp2md

AlexWikner
Beginner
149 Views

Hello,

I have found an error in the documentation for the Fortran version of mkl_sparse_?_sp2md at https://www.intel.com/content/www/us/en/develop/documentation/onemkl-developer-reference-fortran/top....

The incorrect function call in the docs is:

stat = mkl_sparse_?_sp2md (transA, descrA, A, transB, descrB, B, alpha, beta, C, layout, ldc )

The correct function call from mkl_spblas is:

stat = mkl_sparse_?_sp2md (transA, descrA, A, transB, descrB, B, alpha, beta, layout, C, ldc )

Note that the "C" and "layout" arguments are flipped.

0 Kudos
3 Replies
Spencer_P_Intel
Employee
134 Views

Hi Alex,

 

Thanks for letting us know.  It looks like the issue might actually be in the mkl_spblas.f90 file, not in the FORTRAN documentation.  Having "layout" after "C" parameter is the correct way, and consistent with the C APIs.  

Best,

Spencer

Khang_N_Intel
Employee
87 Views

Hi Alex,


Just like Spencer has said, there is nothing wrong with the documentation. We will modify the mkl_spblas.f90 file match with that of the Fortran documentation.


Best,

Khang


Khang_N_Intel
Employee
8 Views

Hi Alex,


The fix will be in the upcoming release of oneMKL, 2022.2.


Best regards,

Khang


Reply