Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

sparse_matrix_t handle

j_tanu
Beginner
685 Views

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
660 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.

 

0 Kudos
Reply