<?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 use mkl95_precision, only: wp =&amp;gt; dp  in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/use-mkl95-precision-only-wp-gt-dp/m-p/823114#M4935</link>
    <description>Hi everyone,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I am migrating from IMSL to MKL. I am trying to implement matrix-matrix and matrix-vector calculations using the BLAS.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I have a doubt about what the following statements mean:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;(...)&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;SPAN style="white-space: pre;"&gt;	&lt;/SPAN&gt;use mkl95_precision, only: wp =&amp;gt; dp&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;SPAN style="white-space: pre;"&gt;	&lt;/SPAN&gt;implicit none&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="white-space: pre;"&gt;	&lt;/SPAN&gt;real(wp):: alpha, beta; !just an example of variables;&lt;/DIV&gt;&lt;DIV&gt;(...)&lt;/DIV&gt;&lt;DIV&gt;It seems that alpha and beta are double precision variables. There is any difference between the above statement and the following declaration? Which one should I use?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;(...)&lt;/DIV&gt;&lt;DIV&gt;    double precision alpha, beta;&lt;/DIV&gt;&lt;DIV&gt;(...)&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thank you in advance&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Marcio Yamamoto&lt;/DIV&gt;</description>
    <pubDate>Fri, 13 May 2011 03:01:17 GMT</pubDate>
    <dc:creator>marcioy</dc:creator>
    <dc:date>2011-05-13T03:01:17Z</dc:date>
    <item>
      <title>use mkl95_precision, only: wp =&gt; dp</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/use-mkl95-precision-only-wp-gt-dp/m-p/823114#M4935</link>
      <description>Hi everyone,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I am migrating from IMSL to MKL. I am trying to implement matrix-matrix and matrix-vector calculations using the BLAS.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I have a doubt about what the following statements mean:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;(...)&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;SPAN style="white-space: pre;"&gt;	&lt;/SPAN&gt;use mkl95_precision, only: wp =&amp;gt; dp&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;SPAN style="white-space: pre;"&gt;	&lt;/SPAN&gt;implicit none&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="white-space: pre;"&gt;	&lt;/SPAN&gt;real(wp):: alpha, beta; !just an example of variables;&lt;/DIV&gt;&lt;DIV&gt;(...)&lt;/DIV&gt;&lt;DIV&gt;It seems that alpha and beta are double precision variables. There is any difference between the above statement and the following declaration? Which one should I use?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;(...)&lt;/DIV&gt;&lt;DIV&gt;    double precision alpha, beta;&lt;/DIV&gt;&lt;DIV&gt;(...)&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thank you in advance&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Marcio Yamamoto&lt;/DIV&gt;</description>
      <pubDate>Fri, 13 May 2011 03:01:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/use-mkl95-precision-only-wp-gt-dp/m-p/823114#M4935</guid>
      <dc:creator>marcioy</dc:creator>
      <dc:date>2011-05-13T03:01:17Z</dc:date>
    </item>
    <item>
      <title>use mkl95_precision, only: wp =&gt; dp</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/use-mkl95-precision-only-wp-gt-dp/m-p/823115#M4936</link>
      <description>&lt;P&gt;Hi Marcio, &lt;/P&gt;&lt;P&gt;You are right. They are double precision. Both of those two be compiled. If you write alpha, beta as: &lt;BR /&gt;real(wp):: alpha, beta;&lt;/P&gt;&lt;P&gt;It make it some easierto changeto single precision code, and only need to change:&lt;BR /&gt;wp =&amp;gt; DP to wp = SP&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Chao &lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2011 07:05:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/use-mkl95-precision-only-wp-gt-dp/m-p/823115#M4936</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2011-05-13T07:05:25Z</dc:date>
    </item>
    <item>
      <title>use mkl95_precision, only: wp =&gt; dp</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/use-mkl95-precision-only-wp-gt-dp/m-p/823116#M4937</link>
      <description>Thank you, Chao!&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;The guys in Intel work up to midnight??!! You guys are my heroes! ;)&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I was wondering if the statement "real(wp):: alpha, beta;" creates any special data structures/object which was necessary for the MKL/BLAS calculation. But it is not the case, right? Both statements generate exactly the same data structure: double precision array?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;You should get some sleep, Chao.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thank you again.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Marcio&lt;/DIV&gt;</description>
      <pubDate>Fri, 13 May 2011 07:26:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/use-mkl95-precision-only-wp-gt-dp/m-p/823116#M4937</guid>
      <dc:creator>marcioy</dc:creator>
      <dc:date>2011-05-13T07:26:39Z</dc:date>
    </item>
  </channel>
</rss>

