Community
cancel
Showing results for 
Search instead for 
Did you mean: 
JBervel
Beginner
51 Views

mkl_dcsradd doubt

Hi,

I am working with the function


mkl_dcsradd(...)

When I pass two matrices like

1 1 1 1 -1 1
0 0 0 0 0 0
0 0 0 0 0 0

the returnedmatrix is:

values:2 0 2
columns: 1 2 3
rowIndex: 1 4 4 4

There is any way to automatically eliminate the zero values returned by the function?

values: 2 2
columns: 1 3
rowIndex: 1 3 33

Thanks

0 Kudos
3 Replies
51 Views

Hi,
MKL doesn't have such functionality.
Do you feel this feature (like eliminating zero entries from sparse formats) is worth including in some of the next MKL releases?
Regards,
Konstantin
JBervel
Beginner
51 Views

Yes, it would be good for my work.

Thanks for the response.

Gennady_F_Intel
Moderator
51 Views

but You have to take into account that this functionality would negatively affects on the performance of this routine.
--Gennady
Reply