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

mkl_sparse_?_syprd implementation in python

Hello,

I would like to use mkl_sparse_z_syprd in python
https://software.intel.com/en-us/mkl-developer-reference-c-mkl-sparse-syprd

In comparison with the older functions which require indices and data of a sparse matrix, this one requires "Handle containing a sparse matrix in the internal data structure". The Handle could be created with mkl_sparse_?_create_csr
https://software.intel.com/en-us/mkl-developer-reference-c-mkl-sparse-create-csr
but it by itself has an empty Holder sparse_matrix_t *A as a parameter. 

Are there any examples of how to implement this operation in python? Particularly how to create an empty sparse matrix holder. A good example of how to use mkl in python is given here
https://software.intel.com/en-us/articles/using-intel-mkl-in-your-python-programs

Thanks

 

 



 

 

 

 

0 Kudos
1 Reply
Highlighted
Moderator
11 Views

there are only C/F based examples but not for python API.

0 Kudos