<?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: Re:The LAPACKE_dtfsm() function in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/The-LAPACKE-dtfsm-function/m-p/1582742#M35942</link>
    <description>&lt;P&gt;Hi Fengrui&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can confirm that the results match with the transposed input.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Malc&lt;/P&gt;</description>
    <pubDate>Fri, 22 Mar 2024 11:41:53 GMT</pubDate>
    <dc:creator>Malc</dc:creator>
    <dc:date>2024-03-22T11:41:53Z</dc:date>
    <item>
      <title>The LAPACKE_dtfsm() function</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/The-LAPACKE-dtfsm-function/m-p/1572684#M35837</link>
      <description>&lt;P&gt;I'm trying to use the&amp;nbsp;LAPACKE_dtfsm(..) function to give me a result using these two matrices&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;double a[4] =&amp;nbsp;{ 590.96819903509447, 0.0,&lt;BR /&gt;0.0, 72662.562467553944 };&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;double b[8] =&amp;nbsp;{ -174621.706135389, -1305297.25336182, -174621.706135394, 1305297.25336182,&lt;BR /&gt;1305297.25336182, -2620409798.2378, -1305297.25336182, -2620409798.23788 };&lt;/P&gt;&lt;P&gt;I've used LAPACKE_dtrttf(LAPACK_ROW_MAJOR, 'N', 'U', 2, a, 2, arp)&amp;nbsp;to convert 'a' into a rectangular full format matrix, arp&lt;/P&gt;&lt;P&gt;then called&amp;nbsp;&lt;/P&gt;&lt;P&gt;LAPACKE_dtfsm(LAPACK_ROW_MAJOR,&amp;nbsp;&lt;BR /&gt;'N',&amp;nbsp;&lt;BR /&gt;'L',&amp;nbsp;&lt;BR /&gt;'U',&amp;nbsp;&lt;BR /&gt;'T',&amp;nbsp;&lt;BR /&gt;'N',&amp;nbsp;&lt;BR /&gt;2,&amp;nbsp;&lt;BR /&gt;4,&amp;nbsp;&lt;BR /&gt;1.0,&amp;nbsp;&lt;BR /&gt;arp,&amp;nbsp;&lt;BR /&gt;b,&lt;BR /&gt;4);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but it doesn't give the correct answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using matrices the full matrix a and b and calling&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cblas_dtrsm(CblasRowMajor, CblasLeft, CblasUpper, CblasTrans, CblasNonUnit, 2, 4, 1.0, a, 2, b, 4);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;gives me the expected answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could anyone help me get the call to the&amp;nbsp;LAPACKE_dtfsm(..) function correct?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 19:59:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/The-LAPACKE-dtfsm-function/m-p/1572684#M35837</guid>
      <dc:creator>Malc</dc:creator>
      <dc:date>2024-02-15T19:59:29Z</dc:date>
    </item>
    <item>
      <title>Re:The LAPACKE_dtfsm() function</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/The-LAPACKE-dtfsm-function/m-p/1579919#M35917</link>
      <description>&lt;P&gt;Hello, it looks that there is a product issue with dtfsm when using the row-major layout, while the column-major layout gives the same results as dtrsm. I will escalate this issue to the product team. At the same time, could you please try the column-major layout?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Fengrui&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Mar 2024 21:31:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/The-LAPACKE-dtfsm-function/m-p/1579919#M35917</guid>
      <dc:creator>Fengrui</dc:creator>
      <dc:date>2024-03-12T21:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: The LAPACKE_dtfsm() function</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/The-LAPACKE-dtfsm-function/m-p/1581759#M35932</link>
      <description>&lt;P&gt;Hi Fengrui&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for looking into this for me. I've tried using column major layout and while it calculates all the correct values they don't come back in the same order as the&amp;nbsp;&lt;SPAN&gt;cblas_dtrsm(...) function call.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the 8 values in matrix b&lt;/P&gt;&lt;P&gt;dtrsm order [0, 1, 2, 3, 4, 5, 6, 7]&lt;/P&gt;&lt;P&gt;dtfsm order [0, 6, 2, 4, 3, 5, 1, 7]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1 and 6 and 3 and 4 have been swapped around. Did the values come back in the same order for you?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Malc&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2024 12:22:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/The-LAPACKE-dtfsm-function/m-p/1581759#M35932</guid>
      <dc:creator>Malc</dc:creator>
      <dc:date>2024-03-19T12:22:16Z</dc:date>
    </item>
    <item>
      <title>Re:The LAPACKE_dtfsm() function</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/The-LAPACKE-dtfsm-function/m-p/1581919#M35934</link>
      <description>&lt;P&gt;Hi Malc,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The results of trsm and tfsm are the same in my test.&lt;/P&gt;&lt;P&gt;Please try the following test code:&lt;/P&gt;&lt;P&gt;------------------------------------------------------&lt;/P&gt;&lt;P&gt;#include &amp;lt;iostream&amp;gt;&lt;/P&gt;&lt;P&gt;#include "mkl.h"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;int main()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;double a[4] = { 590.96819903509447, 0.0, 0.0, 72662.562467553944 };&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;double b[12] = {-174621.706135389, 1305297.25336182, -1305297.25336182, -2620409798.2378, -174621.706135394, -1305297.25336182, 1305297.25336182, -2620409798.2378};&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;double b_trsm[12] = {-174621.706135389, 1305297.25336182, -1305297.25336182, -2620409798.2378, -174621.706135394, -1305297.25336182, 1305297.25336182, -2620409798.2378};&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;double arp[3];&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;cblas_dtrsm(CblasColMajor, CblasLeft, CblasUpper, CblasTrans, CblasNonUnit, 2, 4, 1.0, a, 2, b_trsm, 2);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;for(int i=0; i&amp;lt;8; i++)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;std::cout &amp;lt;&amp;lt; "b_trsm[" &amp;lt;&amp;lt; i &amp;lt;&amp;lt; "] = " &amp;lt;&amp;lt; b_trsm[i] &amp;lt;&amp;lt; std::endl;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;std::cout &amp;lt;&amp;lt; "Using compact format" &amp;lt;&amp;lt; std::endl;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;lapack_int info = 1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;info = LAPACKE_dtrttf(LAPACK_COL_MAJOR, 'N', 'U', 2, a, 2, arp);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;for(int i=0; i&amp;lt;3; i++)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;std::cout &amp;lt;&amp;lt; "arp[" &amp;lt;&amp;lt; i &amp;lt;&amp;lt; "] = " &amp;lt;&amp;lt; arp[i] &amp;lt;&amp;lt; std::endl;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;std::cout &amp;lt;&amp;lt; "DTRTTF info = " &amp;lt;&amp;lt; info &amp;lt;&amp;lt; std::endl;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;info = 1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;info = LAPACKE_dtfsm(LAPACK_COL_MAJOR, 'N', 'L', 'U', 'N', 'N', 2, 4, 1.0, arp, b, 2);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;std::cout &amp;lt;&amp;lt; "DTFSM info = " &amp;lt;&amp;lt; info &amp;lt;&amp;lt; std::endl;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;for(int i=0; i&amp;lt;8; i++)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;std::cout &amp;lt;&amp;lt; "b[" &amp;lt;&amp;lt; i &amp;lt;&amp;lt; "] = " &amp;lt;&amp;lt; b[i] &amp;lt;&amp;lt; std::endl;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;return 0;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;------------------------------------------------------&lt;/P&gt;&lt;P&gt;The input has been transposed to be consistent with the original row-major layout.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Fengrui&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Mar 2024 23:02:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/The-LAPACKE-dtfsm-function/m-p/1581919#M35934</guid>
      <dc:creator>Fengrui</dc:creator>
      <dc:date>2024-03-19T23:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: Re:The LAPACKE_dtfsm() function</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/The-LAPACKE-dtfsm-function/m-p/1582742#M35942</link>
      <description>&lt;P&gt;Hi Fengrui&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can confirm that the results match with the transposed input.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Malc&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 11:41:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/The-LAPACKE-dtfsm-function/m-p/1582742#M35942</guid>
      <dc:creator>Malc</dc:creator>
      <dc:date>2024-03-22T11:41:53Z</dc:date>
    </item>
    <item>
      <title>Re:The LAPACKE_dtfsm() function</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/The-LAPACKE-dtfsm-function/m-p/1596496#M36108</link>
      <description>&lt;P&gt;Hi Malc,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The wrong output of dtfsm with row-major layout seems to be related to the LAPACK Reference implementation, as it can be reproduced with both &lt;SPAN style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif;"&gt;Netlib LAPACK version 3.11 and Netlib LAPACK 3.12 (&lt;/SPAN&gt;&lt;A href="https://www.netlib.org/lapack/" rel="noopener noreferrer" target="_blank" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif;"&gt;https://www.netlib.org/lapack/&lt;/A&gt;&lt;SPAN style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif;"&gt;).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif;"&gt;We highly recommend to file a separate issue against Reference Netlib LAPACK by using the link&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://github.com/Reference-LAPACK/lapack/issues" rel="noopener noreferrer" target="_blank" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif;"&gt;https://github.com/Reference-LAPACK/lapack/issues&lt;/A&gt;&lt;SPAN style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif;"&gt;. &lt;/SPAN&gt;We can file an issue on your behalf but we need a permission to use the reproducer (the data you provided).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Fengrui&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 09 May 2024 23:40:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/The-LAPACKE-dtfsm-function/m-p/1596496#M36108</guid>
      <dc:creator>Fengrui</dc:creator>
      <dc:date>2024-05-09T23:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: The LAPACKE_dtfsm() function</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/The-LAPACKE-dtfsm-function/m-p/1647668#M36721</link>
      <description>&lt;P&gt;Hi Malc,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As a follow-up to this issue. We have fixed the wrong result of dtfsm with row-major layout in oneMKL 2025.0. Did you get a chance to try this new version?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Fengrui&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2024 00:01:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/The-LAPACKE-dtfsm-function/m-p/1647668#M36721</guid>
      <dc:creator>Fengrui</dc:creator>
      <dc:date>2024-12-06T00:01:44Z</dc:date>
    </item>
  </channel>
</rss>

