<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Is there sparse matrix-dense vector multiplication routine with in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Is-there-sparse-matrix-dense-vector-multiplication-routine-with/m-p/772479#M736</link>
    <description>Kiran, you right. No such m-v routines in MKL ( only for single and double precision).&lt;DIV&gt;for your case, you can try to explicity convert int -&amp;gt; double&lt;/DIV&gt;&lt;DIV&gt;say:&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;int val;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: normal; font-size: 10px; font-family: Verdana, Arial, Helvetica, sans-serif; white-space: pre;"&gt;(double)val; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: normal; font-size: 10px; font-family: Verdana, Arial, Helvetica, sans-serif; white-space: pre;"&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: normal; font-size: 10px; font-family: Verdana, Arial, Helvetica, sans-serif; white-space: pre;"&gt;&lt;/SPAN&gt;&lt;SPAN style="line-height: normal; font-size: 10px; font-family: Verdana, Arial, Helvetica, sans-serif; white-space: pre;"&gt;static_cast&lt;DOUBLE&gt;(number);&lt;/DOUBLE&gt;&lt;/SPAN&gt;&lt;/P&gt;but, it wiil take an additional time ...&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;--Gennady&lt;/DIV&gt;</description>
    <pubDate>Wed, 28 Jul 2010 09:29:32 GMT</pubDate>
    <dc:creator>Gennady_F_Intel</dc:creator>
    <dc:date>2010-07-28T09:29:32Z</dc:date>
    <item>
      <title>Is there sparse matrix-dense vector multiplication routine with matrix stored in int and vector in double..?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Is-there-sparse-matrix-dense-vector-multiplication-routine-with/m-p/772478#M735</link>
      <description>Hi All,&lt;BR /&gt; I want to use sparse matrix-dense vector multiplication. Matrix is stored in CSR(compressed sparse row) format.&lt;BR /&gt;&lt;BR /&gt;My &lt;B&gt;&lt;I&gt;matrix&lt;/I&gt;&lt;/B&gt; is of datatype &lt;B&gt;&lt;I&gt;int&lt;/I&gt;&lt;/B&gt; and &lt;BR /&gt; &lt;B&gt;&lt;I&gt;vector&lt;/I&gt;&lt;/B&gt; is of datatype &lt;B&gt;&lt;I&gt;double.&lt;BR /&gt;&lt;BR /&gt;&lt;/I&gt;&lt;/B&gt;I searched for routines and found mkl_dcsrmv, mkl_dcsrgemv but both need to have same data type(double). &lt;BR /&gt;&lt;BR /&gt; Is there any other way so that I can use matrix in int and vector in double and perform sparse matrix-dense vector multiplication using routines..?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;M.Kiran Kumar.&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Jul 2010 08:50:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Is-there-sparse-matrix-dense-vector-multiplication-routine-with/m-p/772478#M735</guid>
      <dc:creator>kirankumarm</dc:creator>
      <dc:date>2010-07-28T08:50:22Z</dc:date>
    </item>
    <item>
      <title>Is there sparse matrix-dense vector multiplication routine with</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Is-there-sparse-matrix-dense-vector-multiplication-routine-with/m-p/772479#M736</link>
      <description>Kiran, you right. No such m-v routines in MKL ( only for single and double precision).&lt;DIV&gt;for your case, you can try to explicity convert int -&amp;gt; double&lt;/DIV&gt;&lt;DIV&gt;say:&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;int val;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: normal; font-size: 10px; font-family: Verdana, Arial, Helvetica, sans-serif; white-space: pre;"&gt;(double)val; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: normal; font-size: 10px; font-family: Verdana, Arial, Helvetica, sans-serif; white-space: pre;"&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: normal; font-size: 10px; font-family: Verdana, Arial, Helvetica, sans-serif; white-space: pre;"&gt;&lt;/SPAN&gt;&lt;SPAN style="line-height: normal; font-size: 10px; font-family: Verdana, Arial, Helvetica, sans-serif; white-space: pre;"&gt;static_cast&lt;DOUBLE&gt;(number);&lt;/DOUBLE&gt;&lt;/SPAN&gt;&lt;/P&gt;but, it wiil take an additional time ...&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;--Gennady&lt;/DIV&gt;</description>
      <pubDate>Wed, 28 Jul 2010 09:29:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Is-there-sparse-matrix-dense-vector-multiplication-routine-with/m-p/772479#M736</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2010-07-28T09:29:32Z</dc:date>
    </item>
  </channel>
</rss>

