Showing results for

- Intel Community
- Software Development SDKs and Libraries
- Intel® oneAPI Math Kernel Library & Intel® Math Kernel Library
- mkl_sparse_?_syprd implementation in python

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

Highlighted
##

Kuzmin__Viacheslav

Beginner

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

10-15-2018
11:57 AM

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

1 Reply

Highlighted
##

Gennady_F_Intel

Moderator

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

10-16-2018
07:33 PM

11 Views

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

For more complete information about compiler optimizations, see our Optimization Notice.