<?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 I forgot to mention that the in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compilation-Errors-with-MKL-DIRECT-CALL-SEQ/m-p/1062068#M21719</link>
    <description>&lt;P&gt;I forgot to mention that the very same code used to compile with Intel MKL 11.2 and that now I've upgraded to Intel MKL 11.3.2.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Daniele&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Jul 2016 17:19:59 GMT</pubDate>
    <dc:creator>Daniele_S_1</dc:creator>
    <dc:date>2016-07-15T17:19:59Z</dc:date>
    <item>
      <title>Compilation Errors with MKL_DIRECT_CALL_SEQ</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compilation-Errors-with-MKL-DIRECT-CALL-SEQ/m-p/1062067#M21718</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm compiling a cpp file that&amp;nbsp;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;includes mkl.h and contains a single cblas_dgemm call&amp;nbsp;&lt;/SPAN&gt;with the following:&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;icpc -DMKL_DIRECT_CALL_SEQ -DMKL_ILP64 -I/opt/intel/mkl/include -c -o main.o main.cpp&lt;/PRE&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Compilation breaks and I get mutliple times the following message:&lt;/SPAN&gt;&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;error: expression must be an lvalue or a function designator
    cblas_dgemm(CblasRowMajor, CblasNoTrans, CblasNoTrans, 4, 4, 4, 1, A, 4, B, 4, 1, C, 4);
&lt;/PRE&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;If a remove&amp;nbsp;-DMKL_DIRECT_CALL_SEQ the compilation works as expected.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Is this a bug or am I doing anything wrong?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Daniele&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2016 17:17:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compilation-Errors-with-MKL-DIRECT-CALL-SEQ/m-p/1062067#M21718</guid>
      <dc:creator>Daniele_S_1</dc:creator>
      <dc:date>2016-07-15T17:17:26Z</dc:date>
    </item>
    <item>
      <title>I forgot to mention that the</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compilation-Errors-with-MKL-DIRECT-CALL-SEQ/m-p/1062068#M21719</link>
      <description>&lt;P&gt;I forgot to mention that the very same code used to compile with Intel MKL 11.2 and that now I've upgraded to Intel MKL 11.3.2.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Daniele&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2016 17:19:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compilation-Errors-with-MKL-DIRECT-CALL-SEQ/m-p/1062068#M21719</guid>
      <dc:creator>Daniele_S_1</dc:creator>
      <dc:date>2016-07-15T17:19:59Z</dc:date>
    </item>
    <item>
      <title>Hi Daniele, </title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compilation-Errors-with-MKL-DIRECT-CALL-SEQ/m-p/1062069#M21720</link>
      <description>&lt;P&gt;Hi Daniele,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks for the report. &amp;nbsp;The issue looks familiar. We will check and get back to you later.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;Ying&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2016 02:50:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compilation-Errors-with-MKL-DIRECT-CALL-SEQ/m-p/1062069#M21720</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2016-07-18T02:50:34Z</dc:date>
    </item>
    <item>
      <title>Hi Daniele~</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compilation-Errors-with-MKL-DIRECT-CALL-SEQ/m-p/1062070#M21721</link>
      <description>&lt;P&gt;Hi Daniele~&lt;/P&gt;

&lt;P&gt;Thank you for your interest in this functionality!&amp;nbsp; Direct call support for CBLAS interfaces was introduced in Intel MKL 11.2.2, which may explain why the compilation works as expected for Intel MKL 11.2. &amp;nbsp;The implementation assumes that variables, rather than literals, are passed as arguments to the cblas_dgemm call.&amp;nbsp; We will need to change the implementation to allow both variables and literals to work for the CBLAS interfaces with direct call.&lt;/P&gt;

&lt;P&gt;In the meantime, if you change your code to:&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MKL_INT four = 4;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; double one = 1.0;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cblas_dgemm(CblasRowMajor, CblasNoTrans, CblasNoTrans, four, four, four, one, A, four, B, four, one, C, four);&lt;/P&gt;

&lt;P&gt;instead of&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cblas_dgemm(CblasRowMajor, CblasNoTrans, CblasNoTrans, 4, 4, 4, 1, A, 4, B, 4, 1, C, 4);&lt;/P&gt;

&lt;P&gt;does the compilation succeed?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Sarah&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2016 21:05:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compilation-Errors-with-MKL-DIRECT-CALL-SEQ/m-p/1062070#M21721</guid>
      <dc:creator>Sarah_K_Intel</dc:creator>
      <dc:date>2016-07-18T21:05:07Z</dc:date>
    </item>
    <item>
      <title>Dear All,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compilation-Errors-with-MKL-DIRECT-CALL-SEQ/m-p/1062071#M21722</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;

&lt;P&gt;Just update the thread.&amp;nbsp; MKL 2017 update 1 release recently, which fix the issue.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;@Daniele, thank you for report the bug!&lt;/P&gt;

&lt;P&gt;Best Regards,&lt;/P&gt;

&lt;P&gt;Ying&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2016 03:39:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compilation-Errors-with-MKL-DIRECT-CALL-SEQ/m-p/1062071#M21722</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2016-11-14T03:39:49Z</dc:date>
    </item>
  </channel>
</rss>

