Community
cancel
Showing results for 
Search instead for 
Did you mean: 
j_tanu
Beginner
258 Views

sparse_matrix_t handle

I am trying to implement mkl two-stage algorithm in Julia. `mkl_sparse_?_create_csc` function creates a handle for a matrix A in CSC format. In c language, the type of the handle is sparse_matrix_t. How to wrap this kind of type in Julia ccall? I have used sparse_matrix_type_t as a pointer of `Cvoid `type in julia. But I am getting an error of "SPARSE_STATUS_INVALID_VALUE". What are the field names of the matrix_descr structure? It looks that mkl 2 stage algorithms are difficult to implement  other than c language.

0 Kudos
1 Reply
Gennady_F_Intel
Moderator
233 Views

have you tried to check this forum? if I am not mistaken, we had in the past a few topics that discussed how to make the mkl call from Julia.

 

Reply