<?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 Difference between cgesvd and LAPACKE_cgesvd or cgesdd and LAPACKE_cgesdd in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Difference-between-cgesvd-and-LAPACKE-cgesvd-or-cgesdd-and/m-p/1113575#M24529</link>
    <description>&lt;P&gt;I would like to know the difference between&amp;nbsp;&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;LAPACKE_cgesvd&lt;/PRE&gt;

&lt;P&gt;(see&amp;nbsp;&lt;A href="https://software.intel.com/en-us/node/521150"&gt;https://software.intel.com/en-us/node/521150&lt;/A&gt;) and&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;cgesvd&lt;/PRE&gt;

&lt;P&gt;(see&amp;nbsp;&lt;A href="https://software.intel.com/sites/products/documentation/doclib/mkl_sa/11/mkl_lapack_examples/cgesvd_ex.c.htm"&gt;https://software.intel.com/sites/products/documentation/doclib/mkl_sa/11/mkl_lapack_examples/cgesvd_ex.c.htm&lt;/A&gt;).&lt;/P&gt;

&lt;P&gt;Is LAPACKE_cgesvd just a wrapper around cgesvd automatically selecting the resources? Is there any performance improvement/penalty using the former or the latter?&lt;/P&gt;

&lt;P&gt;Thank you very much for any help.&lt;/P&gt;</description>
    <pubDate>Tue, 23 May 2017 12:56:26 GMT</pubDate>
    <dc:creator>Angelo_L_</dc:creator>
    <dc:date>2017-05-23T12:56:26Z</dc:date>
    <item>
      <title>Difference between cgesvd and LAPACKE_cgesvd or cgesdd and LAPACKE_cgesdd</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Difference-between-cgesvd-and-LAPACKE-cgesvd-or-cgesdd-and/m-p/1113575#M24529</link>
      <description>&lt;P&gt;I would like to know the difference between&amp;nbsp;&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;LAPACKE_cgesvd&lt;/PRE&gt;

&lt;P&gt;(see&amp;nbsp;&lt;A href="https://software.intel.com/en-us/node/521150"&gt;https://software.intel.com/en-us/node/521150&lt;/A&gt;) and&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;cgesvd&lt;/PRE&gt;

&lt;P&gt;(see&amp;nbsp;&lt;A href="https://software.intel.com/sites/products/documentation/doclib/mkl_sa/11/mkl_lapack_examples/cgesvd_ex.c.htm"&gt;https://software.intel.com/sites/products/documentation/doclib/mkl_sa/11/mkl_lapack_examples/cgesvd_ex.c.htm&lt;/A&gt;).&lt;/P&gt;

&lt;P&gt;Is LAPACKE_cgesvd just a wrapper around cgesvd automatically selecting the resources? Is there any performance improvement/penalty using the former or the latter?&lt;/P&gt;

&lt;P&gt;Thank you very much for any help.&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2017 12:56:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Difference-between-cgesvd-and-LAPACKE-cgesvd-or-cgesdd-and/m-p/1113575#M24529</guid>
      <dc:creator>Angelo_L_</dc:creator>
      <dc:date>2017-05-23T12:56:26Z</dc:date>
    </item>
    <item>
      <title>Hi Angelo,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Difference-between-cgesvd-and-LAPACKE-cgesvd-or-cgesdd-and/m-p/1113576#M24530</link>
      <description>&lt;P&gt;Hi Angelo,&lt;/P&gt;

&lt;P&gt;Yes, the&amp;nbsp;LAPACKE_cgesvd just a wrapper around cgesvd automatically selecting the resources for convenience of C developers. It may lower the performance but considering the problem size, the performance penalty can be ignored in most cases.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Here is one thread to discuss the design background of C interface to LAPACKL&lt;/P&gt;

&lt;P&gt;&lt;A href="https://software.intel.com/en-us/forums/intel-math-kernel-library/topic/300188"&gt;https://software.intel.com/en-us/forums/intel-math-kernel-library/topic/300188&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;and&amp;nbsp;the PDF &lt;A href="https://community.intel.com/legacyfs/online/drupal_files/m/d/4/1/d/8/C_Interface_to_LAPACK.pdf"&gt;https://software.intel.com/sites/default/files/m/d/4/1/d/8/C_Interface_to_LAPACK.pdf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN class="fontstyle0"&gt;Disadvantages to using a wrapper approach to access existing FORTRAN subprograms are&lt;BR /&gt;
	increased memory footprints and lower performance where a transpose is needed. Another way&lt;BR /&gt;
	to implement row-major C interfaces without an increase in memory is to re-organize the&lt;/SPAN&gt;&lt;BR /&gt;
	&lt;SPAN class="fontstyle2"&gt;&lt;EM&gt;LAPACK &lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN class="fontstyle0"&gt;algorithms (for instance, LU factorization to be mapped on row-major ordering) or use&lt;BR /&gt;
	tricks to call some complementary routine such as &lt;/SPAN&gt;&lt;SPAN class="fontstyle3"&gt;&lt;FONT face="Courier New"&gt;dgelqf &lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="fontstyle0"&gt;for &lt;/SPAN&gt;&lt;SPAN class="fontstyle3"&gt;&lt;FONT face="Courier New"&gt;dgeqrf&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="fontstyle0"&gt;, . &lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Best Regards,&lt;/P&gt;

&lt;P&gt;Ying&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2017 03:02:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Difference-between-cgesvd-and-LAPACKE-cgesvd-or-cgesdd-and/m-p/1113576#M24530</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2017-05-24T03:02:00Z</dc:date>
    </item>
  </channel>
</rss>

