<?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: cblas_daxpy crashes in MKL 2025.2 when called from C++/CLI code targeting .NET Core in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cblas-daxpy-crashes-in-MKL-2025-2-when-called-from-C-CLI-code/m-p/1709869#M37290</link>
    <description>&lt;P&gt;Thank you for reporting this issue!&lt;/P&gt;
&lt;P&gt;It has been fixed and the fix will be included in the oneMKL 2025.3 release.&lt;/P&gt;</description>
    <pubDate>Fri, 15 Aug 2025 22:04:10 GMT</pubDate>
    <dc:creator>Fengrui</dc:creator>
    <dc:date>2025-08-15T22:04:10Z</dc:date>
    <item>
      <title>cblas_daxpy crashes in MKL 2025.2 when called from C++/CLI code targeting .NET Core</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cblas-daxpy-crashes-in-MKL-2025-2-when-called-from-C-CLI-code/m-p/1705340#M37268</link>
      <description>&lt;P&gt;cblas_daxpy fails (crashes to desktop) when called from C++/CLI code that targets .NET Core (or related targets, such as .NET 8). It works properly when called from native C++ code, or C++/CLI code that targets .NET Framework.&lt;/P&gt;&lt;P&gt;The following C++/CLI code can be used to reproduce the problem:&lt;/P&gt;&lt;PRE&gt;cli::array&amp;lt;double&amp;gt;^ x = gcnew cli::array&amp;lt;double&amp;gt;(3);&lt;BR /&gt;x[0] = -1.0; x[1] = 2.0; x[2] = -1.5;&lt;BR /&gt;cli::array&amp;lt;double&amp;gt;^ y = gcnew cli::array&amp;lt;double&amp;gt;(3);&lt;BR /&gt;y[0] = 2.5; y[1] = -3.0; y[2] = 4.0;&lt;BR /&gt;pin_ptr&amp;lt;double&amp;gt; px = &amp;amp;x[0];&lt;BR /&gt;pin_ptr&amp;lt;double&amp;gt; py = &amp;amp;y[0];&lt;BR /&gt;cblas_daxpy(3, 2.0, px, 1, py, 1);&lt;BR /&gt;Console::WriteLine("{0}\t{1}\t{2}", y[0], y[1], y[2]);&lt;/PRE&gt;&lt;P&gt;Console applications exit with code -1073740791 (0xc0000409), and desktop applications crash without raising an exception.&lt;/P&gt;&lt;P&gt;The attached Zip file contains the following projects:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;TestDAXPYNativeCPP - native C++ console application (works)&lt;/LI&gt;&lt;LI&gt;TestDAXPYNetFxCPP - C++/CLI console application targeting .NET Framework 4.8 (works)&lt;/LI&gt;&lt;LI&gt;TestDAXPYNetCoreCPPDLL and TestDAXPYNetCoreCS - C++/CLI class library (DLL) and C# console application targeting .NET 5 (C++/CLI does not support .NET Core console applications, so the C# app calls the C++/CLI DLL) (crashes)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Note that the code has been tested with multiple versions of Microsoft C++ compiler, and was working properly with Math Kernel Library versions 2025.1 and earlier.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2025 22:06:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cblas-daxpy-crashes-in-MKL-2025-2-when-called-from-C-CLI-code/m-p/1705340#M37268</guid>
      <dc:creator>Jones__Andrew</dc:creator>
      <dc:date>2025-07-24T22:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: cblas_daxpy crashes in MKL 2025.2 when called from C++/CLI code targeting .NET Core</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cblas-daxpy-crashes-in-MKL-2025-2-when-called-from-C-CLI-code/m-p/1708471#M37288</link>
      <description>&lt;P&gt;I have the same issue. I also have the similar error with&amp;nbsp;cblas_dsymv.&lt;/P&gt;</description>
      <pubDate>Sun, 10 Aug 2025 17:02:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cblas-daxpy-crashes-in-MKL-2025-2-when-called-from-C-CLI-code/m-p/1708471#M37288</guid>
      <dc:creator>Yang76</dc:creator>
      <dc:date>2025-08-10T17:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: cblas_daxpy crashes in MKL 2025.2 when called from C++/CLI code targeting .NET Core</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cblas-daxpy-crashes-in-MKL-2025-2-when-called-from-C-CLI-code/m-p/1709869#M37290</link>
      <description>&lt;P&gt;Thank you for reporting this issue!&lt;/P&gt;
&lt;P&gt;It has been fixed and the fix will be included in the oneMKL 2025.3 release.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Aug 2025 22:04:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cblas-daxpy-crashes-in-MKL-2025-2-when-called-from-C-CLI-code/m-p/1709869#M37290</guid>
      <dc:creator>Fengrui</dc:creator>
      <dc:date>2025-08-15T22:04:10Z</dc:date>
    </item>
  </channel>
</rss>

