<?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 &amp;gt;&amp;gt;...But is it me or n and m in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Missing-variables-in-stdcall-headers/m-p/1098402#M23693</link>
    <description>&amp;gt;&amp;gt;...But is it me or &lt;STRONG&gt;n&lt;/STRONG&gt; and &lt;STRONG&gt;m&lt;/STRONG&gt; are missing from the stdcall declaration?

...
void __stdcall DORM22( const char* side, int &lt;STRONG&gt;side_len&lt;/STRONG&gt;, const char* trans, int &lt;STRONG&gt;trans_len&lt;/STRONG&gt;,
                       const MKL_INT* n1, const MKL_INT* n2, const double* q, const MKL_INT* ldq,
                       double* c, const MKL_INT* ldc, double* work, const MKL_INT* lwork,
                       MKL_INT* info );
...

I see that two arguments with names &lt;STRONG&gt;side_len&lt;/STRONG&gt; and &lt;STRONG&gt;trans_len&lt;/STRONG&gt; are declared instead of &lt;STRONG&gt;m&lt;/STRONG&gt; and &lt;STRONG&gt;n&lt;/STRONG&gt; and their order changed when compared to

...
void DORM22( const char* side, const char* trans, const MKL_INT* &lt;STRONG&gt;m&lt;/STRONG&gt;, const MKL_INT* &lt;STRONG&gt;n&lt;/STRONG&gt;,
             const MKL_INT* n1, const MKL_INT* n2, const double* q, const MKL_INT* ldq,
             double* c, const MKL_INT* ldc, double* work, const MKL_INT* lwork,
             MKL_INT* info );
...

&amp;gt;&amp;gt;...Lapack is written in Fortran.

We're talking about C declarations and calling these interface functions from C. It means, that a declaration
...
 void DORM22( const char* side = NULL, const char* trans = NULL, .., .., &amp;lt; skipped &amp;gt; .., .., )
 ...
is not valid.

I think Intel engineers should explain why there is a change in the list of arguments, that is two arguments with different names and positions.</description>
    <pubDate>Thu, 13 Apr 2017 23:37:00 GMT</pubDate>
    <dc:creator>SergeyKostrov</dc:creator>
    <dc:date>2017-04-13T23:37:00Z</dc:date>
    <item>
      <title>Missing variables in stdcall headers?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Missing-variables-in-stdcall-headers/m-p/1098396#M23687</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have MKL 2017 with update 1 installed in Windows 10.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;I'm using DORM22 from Lapack as an example.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;cdecl headers:&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;void DORM22( const char* side, const char* trans, const MKL_INT* m, const MKL_INT* n,
             const MKL_INT* n1, const MKL_INT* n2, const double* q, const MKL_INT* ldq,
             double* c, const MKL_INT* ldc, double* work, const MKL_INT* lwork,
             MKL_INT* info );&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;stdcall:&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;void __stdcall DORM22( const char* side, int side_len, const char* trans, int trans_len,
                       const MKL_INT* n1, const MKL_INT* n2, const double* q, const MKL_INT* ldq,
                       double* c, const MKL_INT* ldc, double* work, const MKL_INT* lwork,
                       MKL_INT* info );&lt;/PRE&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;13 variables each. But i&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em;"&gt;s it me or n and m are missing from the stdcall declaration? In&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em;"&gt;mkl_intel_s.lib I find&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;_DORM22@60&lt;/P&gt;

&lt;P&gt;So it should be 15 variables...&lt;/P&gt;

&lt;P&gt;Same story with&lt;/P&gt;

&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="border-collapse:
 collapse;width:48pt" width="64"&gt;
	&lt;COLGROUP&gt;
		&lt;COL style="width:48pt" width="64" /&gt;&lt;/COLGROUP&gt;
	&lt;TBODY&gt;
		&lt;TR height="19" style="height:14.4pt"&gt;
			&lt;TD height="19" style="height:14.4pt;width:48pt" width="64"&gt;_CHLA_TRANSTYPE@4&lt;/TD&gt;
		&lt;/TR&gt;
		&lt;TR height="19" style="height:14.4pt"&gt;
			&lt;TD height="19" style="height:14.4pt"&gt;_CUNCSD2BY1@92&lt;/TD&gt;
		&lt;/TR&gt;
		&lt;TR height="19" style="height:14.4pt"&gt;
			&lt;TD height="19" style="height:14.4pt"&gt;_DORCSD2BY1@84&lt;/TD&gt;
		&lt;/TR&gt;
		&lt;TR height="19" style="height:14.4pt"&gt;
			&lt;TD height="19" style="height:14.4pt"&gt;_DORM22@52&lt;/TD&gt;
		&lt;/TR&gt;
		&lt;TR height="19" style="height:14.4pt"&gt;
			&lt;TD height="19" style="height:14.4pt"&gt;_MKLFREETLS@4&lt;/TD&gt;
		&lt;/TR&gt;
		&lt;TR height="19" style="height:14.4pt"&gt;
			&lt;TD height="19" style="height:14.4pt"&gt;_MKL_CTPPACK@44&lt;/TD&gt;
		&lt;/TR&gt;
		&lt;TR height="19" style="height:14.4pt"&gt;
			&lt;TD height="19" style="height:14.4pt"&gt;_MKL_CTPUNPACK@44&lt;/TD&gt;
		&lt;/TR&gt;
		&lt;TR height="19" style="height:14.4pt"&gt;
			&lt;TD height="19" style="height:14.4pt"&gt;_MKL_DTPPACK@44&lt;/TD&gt;
		&lt;/TR&gt;
		&lt;TR height="19" style="height:14.4pt"&gt;
			&lt;TD height="19" style="height:14.4pt"&gt;_MKL_DTPUNPACK@44&lt;/TD&gt;
		&lt;/TR&gt;
		&lt;TR height="19" style="height:14.4pt"&gt;
			&lt;TD height="19" style="height:14.4pt"&gt;_MKL_STPPACK@44&lt;/TD&gt;
		&lt;/TR&gt;
		&lt;TR height="19" style="height:14.4pt"&gt;
			&lt;TD height="19" style="height:14.4pt"&gt;_MKL_STPUNPACK@44&lt;/TD&gt;
		&lt;/TR&gt;
		&lt;TR height="19" style="height:14.4pt"&gt;
			&lt;TD height="19" style="height:14.4pt"&gt;_MKL_ZTPPACK@44&lt;/TD&gt;
		&lt;/TR&gt;
		&lt;TR height="19" style="height:14.4pt"&gt;
			&lt;TD height="19" style="height:14.4pt"&gt;_MKL_ZTPUNPACK@44&lt;/TD&gt;
		&lt;/TR&gt;
		&lt;TR height="19" style="height:14.4pt"&gt;
			&lt;TD height="19" style="height:14.4pt"&gt;_SORCSD2BY1@84&lt;/TD&gt;
		&lt;/TR&gt;
		&lt;TR height="19" style="height:14.4pt"&gt;
			&lt;TD height="19" style="height:14.4pt"&gt;_SORM22@52&lt;/TD&gt;
		&lt;/TR&gt;
		&lt;TR height="19" style="height:14.4pt"&gt;
			&lt;TD height="19" style="height:14.4pt"&gt;_VSLGETNUMREGBRNGS@4&lt;/TD&gt;
		&lt;/TR&gt;
		&lt;TR height="19" style="height:14.4pt"&gt;
			&lt;TD height="19" style="height:14.4pt"&gt;_ZUNCSD2BY1@92&lt;/TD&gt;
		&lt;/TR&gt;
	&lt;/TBODY&gt;
&lt;/TABLE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;MK&lt;/P&gt;</description>
      <pubDate>Sat, 18 Feb 2017 17:16:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Missing-variables-in-stdcall-headers/m-p/1098396#M23687</guid>
      <dc:creator>Mikhail_K_</dc:creator>
      <dc:date>2017-02-18T17:16:59Z</dc:date>
    </item>
    <item>
      <title>The arguments side and trans</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Missing-variables-in-stdcall-headers/m-p/1098397#M23688</link>
      <description>&lt;P&gt;The arguments &lt;STRONG&gt;side&lt;/STRONG&gt; and &lt;STRONG&gt;trans&lt;/STRONG&gt; are, in effect, single-character strings since only the first character of each is used. Therefore, if string lengths are passed as "hidden" arguments at the end, after all the other variables, they can be left out or, if present, ignored. The caller will push those lengths first on the stack, but the Lapack/MKL routine knows that only the first character is needed, so it does not obtain the lengths that have been placed on the stack.&lt;/P&gt;

&lt;P&gt;On the other hand, when the string length is passed immediately after each string, as in Compaq/Digital Fortran, the caller puts those lengths on the stack, so the C declaration has to show a place-holder variable in the corresponding position.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Feb 2017 19:29:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Missing-variables-in-stdcall-headers/m-p/1098397#M23688</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2017-02-18T19:29:00Z</dc:date>
    </item>
    <item>
      <title>Hi, yep, but then __stdcall</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Missing-variables-in-stdcall-headers/m-p/1098398#M23689</link>
      <description>&lt;P&gt;Hi, yep, but then &lt;SPAN style="color: rgb(0, 0, 0); font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 13.008px;"&gt;__stdcall DORM22&amp;nbsp;&lt;/SPAN&gt;should have 15 variables, not 13.&lt;/P&gt;

&lt;P&gt;My question was: where are matrix dimensions&lt;/P&gt;

&lt;P&gt;&lt;CODE class="keyword bold" style="font-size: 13.008px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; background-image: none !important; background-position: initial !important; background-size: initial !important; background-repeat: initial !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-weight: bold !important; min-height: auto !important; color: rgb(0, 102, 153) !important;"&gt;const&lt;/CODE&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 13.008px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="plain" style="font-size: 13.008px; color: rgb(0, 0, 0); font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; background-image: none !important; background-position: initial !important; background-size: initial !important; background-repeat: initial !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; min-height: auto !important;"&gt;MKL_INT* m,&amp;nbsp;&lt;/CODE&gt;&lt;CODE class="keyword bold" style="font-size: 13.008px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; background-image: none !important; background-position: initial !important; background-size: initial !important; background-repeat: initial !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-weight: bold !important; min-height: auto !important; color: rgb(0, 102, 153) !important;"&gt;const&lt;/CODE&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 13.008px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="plain" style="font-size: 13.008px; color: rgb(0, 0, 0); font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; background-image: none !important; background-position: initial !important; background-size: initial !important; background-repeat: initial !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; min-height: auto !important;"&gt;MKL_INT* n&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;in the stdcall declaration (windows\mkl\include\mkl_lapack_stdcall.h)?&lt;/P&gt;</description>
      <pubDate>Sat, 18 Feb 2017 19:37:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Missing-variables-in-stdcall-headers/m-p/1098398#M23689</guid>
      <dc:creator>Mikhail_K_</dc:creator>
      <dc:date>2017-02-18T19:37:00Z</dc:date>
    </item>
    <item>
      <title>Is this going to be fixed?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Missing-variables-in-stdcall-headers/m-p/1098399#M23690</link>
      <description>&lt;P&gt;Is this going to be fixed?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Missing&amp;nbsp;&lt;CODE class="keyword bold" style="font-size: 13.008px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; background-image: none !important; background-position: initial !important; background-size: initial !important; background-repeat: initial !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-weight: bold !important; min-height: auto !important; color: rgb(0, 102, 153) !important;"&gt;const&lt;/CODE&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 13.008px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="plain" style="font-size: 13.008px; color: rgb(0, 0, 0); font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; background-image: none !important; background-position: initial !important; background-size: initial !important; background-repeat: initial !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; min-height: auto !important;"&gt;MKL_INT* m,&amp;nbsp;&lt;/CODE&gt;&lt;CODE class="keyword bold" style="font-size: 13.008px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; background-image: none !important; background-position: initial !important; background-size: initial !important; background-repeat: initial !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-weight: bold !important; min-height: auto !important; color: rgb(0, 102, 153) !important;"&gt;const&lt;/CODE&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 13.008px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="plain" style="font-size: 13.008px; color: rgb(0, 0, 0); font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; background-image: none !important; background-position: initial !important; background-size: initial !important; background-repeat: initial !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; min-height: auto !important;"&gt;MKL_INT* n,&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;in&amp;nbsp;mkl_lapack_stdcall.h for&amp;nbsp;DORM22&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2017 10:29:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Missing-variables-in-stdcall-headers/m-p/1098399#M23690</guid>
      <dc:creator>Mikhail_K_</dc:creator>
      <dc:date>2017-04-12T10:29:24Z</dc:date>
    </item>
    <item>
      <title>&gt;&gt;...The arguments side and</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Missing-variables-in-stdcall-headers/m-p/1098400#M23691</link>
      <description>&amp;gt;&amp;gt;...The arguments side and trans are, in effect, single-character strings since only the first character of each
&amp;gt;&amp;gt;is used. Therefore, if string lengths are passed as "hidden" arguments at the end, after all the other variables, they
&amp;gt;&amp;gt;can be left out or, if present, ignored.

This is not correct for C or C++ since these two arguments declared at the beginning ( ! ) of declaration of all arguments. If these two arguments would be declared as
...
void DORM22( .., .., &amp;lt; skipped &amp;gt; .., .., const char* side = NULL, const char* trans = NULL )
...
that is at the end, then your statement would be correct.</description>
      <pubDate>Thu, 13 Apr 2017 22:57:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Missing-variables-in-stdcall-headers/m-p/1098400#M23691</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2017-04-13T22:57:03Z</dc:date>
    </item>
    <item>
      <title>Lapack is written in Fortran.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Missing-variables-in-stdcall-headers/m-p/1098401#M23692</link>
      <description>&lt;P&gt;Lapack is written in Fortran. As you can see at&amp;nbsp;http://www.netlib.org/lapack/explore-html/d3/db9/group__complex_o_t_h_e_rcomputational_gae585aa301066e2bcfd1fad4a93e2e6df.html#gae585aa301066e2bcfd1fad4a93e2e6df , DORM22 has 13 arguments, two of which are single-character arguments. If someone wants to call Lapack from C, the C code has to obey the argument passing conventions of the Fortran compiler used to build Lapack. For this reason, the C headers of Lapack routines will have to be modified if a different Fortran compiler or a different Fortran calling convention is used!&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 23:14:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Missing-variables-in-stdcall-headers/m-p/1098401#M23692</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2017-04-13T23:14:22Z</dc:date>
    </item>
    <item>
      <title>&gt;&gt;...But is it me or n and m</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Missing-variables-in-stdcall-headers/m-p/1098402#M23693</link>
      <description>&amp;gt;&amp;gt;...But is it me or &lt;STRONG&gt;n&lt;/STRONG&gt; and &lt;STRONG&gt;m&lt;/STRONG&gt; are missing from the stdcall declaration?

...
void __stdcall DORM22( const char* side, int &lt;STRONG&gt;side_len&lt;/STRONG&gt;, const char* trans, int &lt;STRONG&gt;trans_len&lt;/STRONG&gt;,
                       const MKL_INT* n1, const MKL_INT* n2, const double* q, const MKL_INT* ldq,
                       double* c, const MKL_INT* ldc, double* work, const MKL_INT* lwork,
                       MKL_INT* info );
...

I see that two arguments with names &lt;STRONG&gt;side_len&lt;/STRONG&gt; and &lt;STRONG&gt;trans_len&lt;/STRONG&gt; are declared instead of &lt;STRONG&gt;m&lt;/STRONG&gt; and &lt;STRONG&gt;n&lt;/STRONG&gt; and their order changed when compared to

...
void DORM22( const char* side, const char* trans, const MKL_INT* &lt;STRONG&gt;m&lt;/STRONG&gt;, const MKL_INT* &lt;STRONG&gt;n&lt;/STRONG&gt;,
             const MKL_INT* n1, const MKL_INT* n2, const double* q, const MKL_INT* ldq,
             double* c, const MKL_INT* ldc, double* work, const MKL_INT* lwork,
             MKL_INT* info );
...

&amp;gt;&amp;gt;...Lapack is written in Fortran.

We're talking about C declarations and calling these interface functions from C. It means, that a declaration
...
 void DORM22( const char* side = NULL, const char* trans = NULL, .., .., &amp;lt; skipped &amp;gt; .., .., )
 ...
is not valid.

I think Intel engineers should explain why there is a change in the list of arguments, that is two arguments with different names and positions.</description>
      <pubDate>Thu, 13 Apr 2017 23:37:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Missing-variables-in-stdcall-headers/m-p/1098402#M23693</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2017-04-13T23:37:00Z</dc:date>
    </item>
    <item>
      <title>The reason I'm asking is</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Missing-variables-in-stdcall-headers/m-p/1098403#M23694</link>
      <description>&lt;P&gt;The reason I'm asking is because looking at the list of exported symbols in mkl_rt.dll stdcall-decorated DORM22 appears as _DORM22@60&lt;/P&gt;

&lt;P&gt;Ie there should be 15 (=60/4) arguments. Header file lists 13, both stdcall and non-stdcall version. They just missed m an n by mistake somehow in mkl_lapack_stdcall.h...&lt;/P&gt;

&lt;PRE class="brush:plain;"&gt;
Hint	Function	Entry	Point	Name
2000	(0x07D0)	7418	(0x1CFA)	_DORM22@60
14066	(0x36F2)	11734	(0x2DD6)	_dorm22@60
14068	(0x36F4)	11735	(0x2DD7)	_dorm22_@60
&lt;/PRE&gt;

&lt;P&gt;(Anyway, if you look at DGEMM, stdcall-declared header has two more arguments than the non-stdcall one. I'm using both, and its fine. So, string lengths should be in stdcall-headers, I guess, but its not the issue of this thread.)&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2017 08:21:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Missing-variables-in-stdcall-headers/m-p/1098403#M23694</guid>
      <dc:creator>Mikhail_K_</dc:creator>
      <dc:date>2017-04-14T08:21:00Z</dc:date>
    </item>
    <item>
      <title>Mikhail,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Missing-variables-in-stdcall-headers/m-p/1098404#M23695</link>
      <description>&lt;P&gt;Mikhail,&lt;/P&gt;

&lt;P&gt;That's definitely a bug in MKL header file. Thanks for reporting.&lt;/P&gt;

&lt;P&gt;Did you try to fix DORM22 declaration manually and to check whether it work or not?&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Konstantin&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2017 19:56:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Missing-variables-in-stdcall-headers/m-p/1098404#M23695</guid>
      <dc:creator>Konstantin_A_Intel</dc:creator>
      <dc:date>2017-04-14T19:56:51Z</dc:date>
    </item>
    <item>
      <title>I'm not really using it, I</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Missing-variables-in-stdcall-headers/m-p/1098405#M23696</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;I'm not really using it, I just parsed the header files and number of arguments does not match number of arguments in the dll-file.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;It's easy to fix, but no reason to copy the bug from one version to the next... You may also want to check (they are all declared with 2-3 args less than what dll would indicate):&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;SORM22&lt;BR /&gt;
	CUNCSD2BY1&lt;BR /&gt;
	DORCSD2BY1&lt;BR /&gt;
	SORCSD2BY1&lt;BR /&gt;
	ZUNCSD2BY1&lt;BR /&gt;
	MKL_CTPPACK&lt;BR /&gt;
	MKL_CTPUNPACK&lt;BR /&gt;
	MKL_DTPPACK&lt;BR /&gt;
	MKL_DTPUNPACK&lt;BR /&gt;
	MKL_STPPACK&lt;BR /&gt;
	MKL_STPUNPACK&lt;BR /&gt;
	MKL_ZTPPACK&lt;BR /&gt;
	MKL_ZTPUNPACK&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2017 21:28:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Missing-variables-in-stdcall-headers/m-p/1098405#M23696</guid>
      <dc:creator>Mikhail_K_</dc:creator>
      <dc:date>2017-04-14T21:28:00Z</dc:date>
    </item>
    <item>
      <title>thanks for this issue. we</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Missing-variables-in-stdcall-headers/m-p/1098406#M23697</link>
      <description>&lt;P&gt;thanks for this issue. we will fix into next update.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Apr 2017 11:55:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Missing-variables-in-stdcall-headers/m-p/1098406#M23697</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2017-04-15T11:55:09Z</dc:date>
    </item>
    <item>
      <title>the issue is fixed in MKL v</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Missing-variables-in-stdcall-headers/m-p/1098407#M23698</link>
      <description>&lt;P&gt;the issue is fixed in MKL v 2018&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2017 05:32:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Missing-variables-in-stdcall-headers/m-p/1098407#M23698</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2017-11-13T05:32:16Z</dc:date>
    </item>
  </channel>
</rss>

