Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Intel Community
- Software Development SDKs and Libraries
- Intel® oneAPI Math Kernel Library & Intel® Math Kernel Library
- Skipping empty rows in mkl_dcsrmv()

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

kadir

Beginner

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

09-03-2013
04:35 AM

16 Views

Skipping empty rows in mkl_dcsrmv()

In my application, I use mkl_dcsrmv(). I encounter matrices with empty rows. At most, one eighth of the rows are empty. Is there any solution to skip empty rows in CSR-based sparse matrix-vector multiplication?

One solution is to remove empty rows before mkl_dcsrmv() and scatter/gather the vectors. But this does not seem feasible and it may not be efficient.

A solution, which is adopted in OSKI[1], is adding a list that contains non-empty rows and iterating over this list during the sparse matrix-vector multiplication.

Link Copied

1 Reply

Gennady_F_Intel

Moderator

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

09-03-2013
11:12 AM

16 Views

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