<?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 Hi qweasd q. in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Inplace-permutation/m-p/1060599#M21678</link>
    <description>&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://software.intel.com/en-us/user/778578" style="font-size: 12px; line-height: 18px;"&gt;qweasd q.&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Please try using &lt;A href="https://software.intel.com/en-us/node/521264"&gt;dlapmt_&lt;/A&gt;, following code does the correct permutation for your example:&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;int _false = 0, ione = 1;
dlapmt_(&amp;amp;_false,&amp;amp;ione,&amp;amp;n,A,&amp;amp;ione,jpvt);&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Best regards,&lt;/P&gt;

&lt;P&gt;Alexander&lt;/P&gt;</description>
    <pubDate>Thu, 26 Mar 2015 08:57:31 GMT</pubDate>
    <dc:creator>Alexander_K_Intel3</dc:creator>
    <dc:date>2015-03-26T08:57:31Z</dc:date>
    <item>
      <title>Inplace permutation</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Inplace-permutation/m-p/1060597#M21676</link>
      <description>&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;I need to permute a vector according to an index array &lt;EM&gt;jpvt&lt;/EM&gt; returned by &lt;EM&gt;?geqp3&lt;/EM&gt;. &amp;nbsp;In the example &lt;EM&gt;lapack/source/dgeqpfx.f&lt;/EM&gt; it is done using an auxiliary array. I would like to do the transformation inplace (or at least with O(1) extra memory), but as you can see from the attached source code, I don’t seem to be able to use &lt;EM&gt;?laswp&lt;/EM&gt; correctly. Can this be used for this kind of transformation ? If yes, how ? If no, is there another way to do this ?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Thank you in advance.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2015 21:50:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Inplace-permutation/m-p/1060597#M21676</guid>
      <dc:creator>asd__asdqwe</dc:creator>
      <dc:date>2015-03-24T21:50:08Z</dc:date>
    </item>
    <item>
      <title>Hi qweasd q.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Inplace-permutation/m-p/1060598#M21677</link>
      <description>&lt;P&gt;Hi &lt;A href="https://software.intel.com/en-us/user/778578"&gt;&lt;U&gt;&lt;FONT color="#0066cc"&gt;qweasd q.&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;The &lt;EM&gt;?laswp&lt;/EM&gt;&amp;nbsp; swaps the row in a &lt;SPAN style="font: 12px/24px Tahoma, Arial; text-align: left; color: rgb(67, 67, 67); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: rgb(242, 242, 242); -webkit-text-stroke-width: 0px;"&gt;cascading way. So it can't do the permutation&amp;nbsp;directly.&amp;nbsp; you may&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font: 12px/24px Tahoma, Arial; text-align: left; color: rgb(67, 67, 67); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: rgb(242, 242, 242); -webkit-text-stroke-width: 0px;"&gt;use Array notation like &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.5pt; mso-fareast-font-family: SimSun; mso-bidi-font-family: SimSun; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA;"&gt;A[:]=A[iptv[:]] in Intel Compiler&amp;nbsp; &lt;/SPAN&gt;&lt;A href="https://software.intel.com/en-us/blogs/2010/09/03/simd-parallelism-using-array-notation"&gt;https://software.intel.com/en-us/blogs/2010/09/03/simd-parallelism-using-array-notation&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Best Regards,&lt;/P&gt;

&lt;P&gt;Ying.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Mar 2015 05:49:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Inplace-permutation/m-p/1060598#M21677</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2015-03-26T05:49:00Z</dc:date>
    </item>
    <item>
      <title>Hi qweasd q.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Inplace-permutation/m-p/1060599#M21678</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://software.intel.com/en-us/user/778578" style="font-size: 12px; line-height: 18px;"&gt;qweasd q.&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Please try using &lt;A href="https://software.intel.com/en-us/node/521264"&gt;dlapmt_&lt;/A&gt;, following code does the correct permutation for your example:&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;int _false = 0, ione = 1;
dlapmt_(&amp;amp;_false,&amp;amp;ione,&amp;amp;n,A,&amp;amp;ione,jpvt);&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Best regards,&lt;/P&gt;

&lt;P&gt;Alexander&lt;/P&gt;</description>
      <pubDate>Thu, 26 Mar 2015 08:57:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Inplace-permutation/m-p/1060599#M21678</guid>
      <dc:creator>Alexander_K_Intel3</dc:creator>
      <dc:date>2015-03-26T08:57:31Z</dc:date>
    </item>
    <item>
      <title>@qweasd q.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Inplace-permutation/m-p/1060600#M21679</link>
      <description>&lt;P&gt;@qweasd q.&lt;/P&gt;

&lt;P&gt;Hello qweasd q.&lt;/P&gt;

&lt;P&gt;I really benefited from the function &lt;EM&gt;?lapmt&lt;/EM&gt; you mentioned above. But now I'm confused with another problem.&lt;/P&gt;

&lt;P&gt;I need to permute the 8 bits in a byte in the order specified in parameter &lt;EM&gt;&lt;STRONG&gt;pmt&lt;/STRONG&gt;.&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;I wonder if there is a similar function as &lt;EM&gt;?lampt, &lt;/EM&gt;while permutation is carried out in bits . And inupt char output char would be better. Bits arranged in vector is also OK.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks for you attention.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2015 10:10:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Inplace-permutation/m-p/1060600#M21679</guid>
      <dc:creator>Charls_W_</dc:creator>
      <dc:date>2015-07-29T10:10:24Z</dc:date>
    </item>
  </channel>
</rss>

