Menu

Looking for sparse matrix-vector products

Feng
2015-01-30
2015-02-10
  • Feng

    Feng - 2015-01-30

    Hi,
    I read from here(http://viennacl.sourceforge.net/) that it contains SpMV. I read the code. If I use the format of Compressed Matrix and the prod function, then ViennaCL will use the CSR-adaptive in SC14?

    Is the CSR-adaptive the fastest method in SpMV in ViennaCL?

    Another question, why it is called sparse matrix-vector products, but not sparse matrix-vector multiplication?

    Thanks!

     

    Last edit: Feng 2015-02-02
  • Karl Rupp

    Karl Rupp - 2015-02-10

    Hi Feng,

    please apologize the late reply, for some reason I haven't received a notification regarding your post. Yes, ViennaCL with use CSR-adaptive as presented at SC14 when you use compressed_matrix. It is the fastest SpMV on average, but in the end the performance depends on your compute device and your matrix.

    As for matrix-vector-product vs. matrix-vector-multiplication: Sorry, I have no answer to that. It's most likely for the same reason as one can take the product of two numbers, or one can multiply two numbers. Maybe a linguist can shed some light on this.

    Best regards,
    Karli

     

Log in to post a comment.