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

mkl_sparse_?_syprd implementation in python

Kuzmin__Viacheslav
320 Views

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
Gennady_F_Intel
Moderator
320 Views

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

0 Kudos
Reply