<?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 Re: mkl_custom.dll conflicting with DirectX libraries ? in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-custom-dll-conflicting-with-DirectX-libraries/m-p/905618#M11612</link>
    <description>We found the solution: managed DirectX by default sets the FPU precision to float! This was causing the driver routine to fail. Dont know if this is a bug in Lapack or not. SYEVR is described to be a "relatively robust" method. IMO the driver should at least report a meaningfull errror - but it just gives the error from the failed internal routine for creation of eigenvectors, which reflects a wrong argument number (-6). &lt;BR /&gt;&lt;BR /&gt;Anyway, after preventing DX to alter the precision, everything works as expected again. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 13 Aug 2008 00:43:51 GMT</pubDate>
    <dc:creator>cpatt</dc:creator>
    <dc:date>2008-08-13T00:43:51Z</dc:date>
    <item>
      <title>mkl_custom.dll conflicting with DirectX libraries ?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-custom-dll-conflicting-with-DirectX-libraries/m-p/905617#M11611</link>
      <description>I'm calling mkl_custom.dll (ia32, cdecl, sequential, predefined lapack exports) from within a C# class library via PInvoke. Everything works fine so far. &lt;BR /&gt;As soon as my application also loads the managed DirectX dependencies (loaded from within Direct3D libraries) and creates some plots with them, calling MKL functions afterwards give strange results. &lt;BR /&gt;I tested and confirmed this reproducable for 'dsyevr' with jobz = 'V'. On return, the info parameter gives -6, which means "lda - parameter was wrong" - but it's not.&lt;BR /&gt;&lt;BR /&gt;Running on WinXP, VS2005, &lt;BR /&gt;MKL 10.0.3.021, Manifest embedded into mkl_custom, reference to msvcr80.dll . &lt;BR /&gt;Microsoft.DirectX.dll - 5.4.0         &lt;BR /&gt;Microsoft.DirectX.Direct3D.dll - 9.5.132&lt;BR /&gt;Microsoft.DirectX.Direct3DX.dll - 5.4.0&lt;BR /&gt;&lt;BR /&gt;Any ideas? May be the runtime loaded by DX somehow conflicts with the one used by MKL? &lt;BR /&gt;&lt;BR /&gt;BTW: the problem does not occour, if I FIRST load DirectX and MKL afterwards (first time only). But as soon as I load DX after having loaded MKL already, the MKL function gives wrong results again.&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Aug 2008 16:10:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-custom-dll-conflicting-with-DirectX-libraries/m-p/905617#M11611</guid>
      <dc:creator>cpatt</dc:creator>
      <dc:date>2008-08-11T16:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: mkl_custom.dll conflicting with DirectX libraries ?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-custom-dll-conflicting-with-DirectX-libraries/m-p/905618#M11612</link>
      <description>We found the solution: managed DirectX by default sets the FPU precision to float! This was causing the driver routine to fail. Dont know if this is a bug in Lapack or not. SYEVR is described to be a "relatively robust" method. IMO the driver should at least report a meaningfull errror - but it just gives the error from the failed internal routine for creation of eigenvectors, which reflects a wrong argument number (-6). &lt;BR /&gt;&lt;BR /&gt;Anyway, after preventing DX to alter the precision, everything works as expected again. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Aug 2008 00:43:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-custom-dll-conflicting-with-DirectX-libraries/m-p/905618#M11612</guid>
      <dc:creator>cpatt</dc:creator>
      <dc:date>2008-08-13T00:43:51Z</dc:date>
    </item>
  </channel>
</rss>

