<?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 MKL_Complex16 in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Complex16/m-p/873802#M8729</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am using MKL's "zgetri" function in C. Since I am porting our code to use MKL, it is not possible to change our data type from "complex&lt;DOUBLE&gt;" to MKL's "Complex16" everywhere in the code. The MKL's User Guide gives a solution to this to add these lines:&lt;BR /&gt;&lt;BR /&gt;#define MKL_Complex16 std::complex&lt;DOUBLE&gt;&lt;BR /&gt;#include "mkl.h"&lt;BR /&gt;&lt;BR /&gt;I would like to know will it work correctly if I use my old matrices which use complex&lt;DOUBLE&gt;, of course if I use a column major matrix for compatibility sake with Fortran?&lt;BR /&gt;&lt;BR /&gt;I used this method and when I compile the code I get this error:&lt;BR /&gt;&lt;BR /&gt;../include/mkl_types.h(43): error: expected a ";"&lt;BR /&gt; } MKL_Complex16;&lt;BR /&gt; ^&lt;BR /&gt;&lt;BR /&gt;../include/mkl_types.h(43): warning #64: declaration does not declare anything&lt;BR /&gt; } MKL_Complex16;&lt;BR /&gt;&lt;BR /&gt;why this happens? This is the solution from MKL's user guide. Thanks for you help.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;D.&lt;BR /&gt;&lt;/DOUBLE&gt;&lt;/DOUBLE&gt;&lt;/DOUBLE&gt;</description>
    <pubDate>Thu, 10 Sep 2009 11:44:48 GMT</pubDate>
    <dc:creator>Dan4</dc:creator>
    <dc:date>2009-09-10T11:44:48Z</dc:date>
    <item>
      <title>MKL_Complex16</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Complex16/m-p/873802#M8729</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am using MKL's "zgetri" function in C. Since I am porting our code to use MKL, it is not possible to change our data type from "complex&lt;DOUBLE&gt;" to MKL's "Complex16" everywhere in the code. The MKL's User Guide gives a solution to this to add these lines:&lt;BR /&gt;&lt;BR /&gt;#define MKL_Complex16 std::complex&lt;DOUBLE&gt;&lt;BR /&gt;#include "mkl.h"&lt;BR /&gt;&lt;BR /&gt;I would like to know will it work correctly if I use my old matrices which use complex&lt;DOUBLE&gt;, of course if I use a column major matrix for compatibility sake with Fortran?&lt;BR /&gt;&lt;BR /&gt;I used this method and when I compile the code I get this error:&lt;BR /&gt;&lt;BR /&gt;../include/mkl_types.h(43): error: expected a ";"&lt;BR /&gt; } MKL_Complex16;&lt;BR /&gt; ^&lt;BR /&gt;&lt;BR /&gt;../include/mkl_types.h(43): warning #64: declaration does not declare anything&lt;BR /&gt; } MKL_Complex16;&lt;BR /&gt;&lt;BR /&gt;why this happens? This is the solution from MKL's user guide. Thanks for you help.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;D.&lt;BR /&gt;&lt;/DOUBLE&gt;&lt;/DOUBLE&gt;&lt;/DOUBLE&gt;</description>
      <pubDate>Thu, 10 Sep 2009 11:44:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Complex16/m-p/873802#M8729</guid>
      <dc:creator>Dan4</dc:creator>
      <dc:date>2009-09-10T11:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: MKL_Complex16</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Complex16/m-p/873803#M8730</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/410217"&gt;danltu.se&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I am using MKL's "zgetri" function in C. Since I am porting our code to use MKL, it is not possible to change our data type from "complex&lt;DOUBLE&gt;" to MKL's "Complex16" everywhere in the code. The MKL's User Guide gives a solution to this to add these lines:&lt;BR /&gt;&lt;BR /&gt;#define MKL_Complex16 std::complex&lt;DOUBLE&gt;&lt;BR /&gt;#include "mkl.h"&lt;BR /&gt;&lt;BR /&gt;I would like to know will it work correctly if I use my old matrices which use complex&lt;DOUBLE&gt;, of course if I use a column major matrix for compatibility sake with Fortran?&lt;BR /&gt;&lt;BR /&gt;I used this method and when I compile the code I get this error:&lt;BR /&gt;&lt;BR /&gt;../include/mkl_types.h(43): error: expected a ";"&lt;BR /&gt; } MKL_Complex16;&lt;BR /&gt; ^&lt;BR /&gt;&lt;BR /&gt;../include/mkl_types.h(43): warning #64: declaration does not declare anything&lt;BR /&gt; } MKL_Complex16;&lt;BR /&gt;&lt;BR /&gt;why this happens? This is the solution from MKL's user guide. Thanks for you help.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;D.&lt;BR /&gt;&lt;/DOUBLE&gt;&lt;/DOUBLE&gt;&lt;/DOUBLE&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Dan, &lt;BR /&gt;- it should work correctly :).&lt;BR /&gt;- do you mean the example 7-2 Calling a Complex BLAS Level 1 Function from C++? &lt;BR /&gt;--Gennady&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Sep 2009 09:14:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Complex16/m-p/873803#M8730</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2009-09-11T09:14:05Z</dc:date>
    </item>
  </channel>
</rss>

