Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
124 Views

Intel MKL CSR format documentation

Jump to solution

Hi,

In the latest documentation for CSR format here
https://software.intel.com/content/www/us/en/develop/documentation/mkl-developer-reference-c/top/app...

I found that definition for pointerE array

"pointerE
An integer array that contains row indices, such that pointerE-indexing is the index of the element
 in the values array that is last non-zero element in a row j of A."

I failed to apply this definition to the examples in the same link so I think this definition is wrong or I'm missing something trivial.

Can any one clarify that please.

Thanks 

0 Kudos

Accepted Solutions
Highlighted
Employee
124 Views

Hi,
You're correct, there is a mistake in CSR format description. Thanks for catching the issue!
The pointerE should be something like "..., such that pointerE - 1 - indexing is the index of the element in the values array that is last non-zero element in a row j of A". 
You can also refer to BSR storage format description and example.

Best regards,
Maria

View solution in original post

0 Kudos
1 Reply
Highlighted
Employee
125 Views

Hi,
You're correct, there is a mistake in CSR format description. Thanks for catching the issue!
The pointerE should be something like "..., such that pointerE - 1 - indexing is the index of the element in the values array that is last non-zero element in a row j of A". 
You can also refer to BSR storage format description and example.

Best regards,
Maria

View solution in original post

0 Kudos