<?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 Are you trying to use AVX512 in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Intrinsic-for-float-half-float-conversion-is-undefined/m-p/1075561#M59760</link>
    <description>&lt;P&gt;Are you trying to use AVX512 with KNC coprocessor?&amp;nbsp; That won't work.&amp;nbsp; If you're building to run on AVX512 emulator, you will need to set an appropriate target.&lt;/P&gt;</description>
    <pubDate>Tue, 05 Apr 2016 12:58:29 GMT</pubDate>
    <dc:creator>TimP</dc:creator>
    <dc:date>2016-04-05T12:58:29Z</dc:date>
    <item>
      <title>Intrinsic for float / half float conversion is undefined.</title>
      <link>https://community.intel.com/t5/Software-Archive/Intrinsic-for-float-half-float-conversion-is-undefined/m-p/1075560#M59759</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; I want to convert float data to half float data on Xeon Phi card using&amp;nbsp;_mm512_cvt_roundps_ph and&amp;nbsp;_mm512_cvt_roundph_ps. However, when I compile the code, it shows that:&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;undefined reference to `_mm512_cvt_roundps_ph(__m512, int)'

undefined reference to `_mm512_cvt_roundph_ps(__m256i, int)'&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; I found&amp;nbsp;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;instrinct&amp;nbsp;&lt;/SPAN&gt;above here:&amp;nbsp;https://software.intel.com/en-us/node/523819&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; I've already included&amp;nbsp;immintrin.h, and other instrincts like&amp;nbsp;_mm512_load_ps works fine.&amp;nbsp;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;I found&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;_mm512_cvt_roundps_ph and&amp;nbsp;_mm512_cvt_roundph_ps defined in&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;zmmintrin.h, but must define the micro&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;__INTEL_COMPILER_USE_INTRINSIC_PROTOTYPES&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&amp;nbsp;to enable it. Then I tried to define&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;__INTEL_COMPILER_USE_INTRINSIC_PROTOTYPES&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;&amp;nbsp;myself and it didn't work.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;&amp;nbsp; &amp;nbsp; I'm using icpc (ICC) 16.0.2 20160204.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&amp;nbsp; &amp;nbsp; Can anyone tell me whats going on?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2016 09:27:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Intrinsic-for-float-half-float-conversion-is-undefined/m-p/1075560#M59759</guid>
      <dc:creator>Coxious_H_1</dc:creator>
      <dc:date>2016-04-05T09:27:39Z</dc:date>
    </item>
    <item>
      <title>Are you trying to use AVX512</title>
      <link>https://community.intel.com/t5/Software-Archive/Intrinsic-for-float-half-float-conversion-is-undefined/m-p/1075561#M59760</link>
      <description>&lt;P&gt;Are you trying to use AVX512 with KNC coprocessor?&amp;nbsp; That won't work.&amp;nbsp; If you're building to run on AVX512 emulator, you will need to set an appropriate target.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2016 12:58:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Intrinsic-for-float-half-float-conversion-is-undefined/m-p/1075561#M59760</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2016-04-05T12:58:29Z</dc:date>
    </item>
    <item>
      <title>Quote:Tim P. wrote:</title>
      <link>https://community.intel.com/t5/Software-Archive/Intrinsic-for-float-half-float-conversion-is-undefined/m-p/1075562#M59761</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Tim P. wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Are you trying to use AVX512 with KNC coprocessor?&amp;nbsp; That won't work.&amp;nbsp; If you're building to run on AVX512 emulator, you will need to set an appropriate target.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Thanks for your reply. Yes I was trying to do that. Looks like I've muddled up AVX512 and MIC-AVX512. Is there more detailed articles telling the difference between them? I've Googled it but didn't get a good answer.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2016 14:21:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Intrinsic-for-float-half-float-conversion-is-undefined/m-p/1075562#M59761</guid>
      <dc:creator>Coxious_H_1</dc:creator>
      <dc:date>2016-04-05T14:21:00Z</dc:date>
    </item>
    <item>
      <title> Look at the Intel Intrinsics</title>
      <link>https://community.intel.com/t5/Software-Archive/Intrinsic-for-float-half-float-conversion-is-undefined/m-p/1075563#M59762</link>
      <description>&lt;P&gt;&amp;nbsp;Look at the &lt;A href="https://software.intel.com/sites/landingpage/IntrinsicsGuide/"&gt;Intel Intrinsics Guide&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;It has check boxes to filter on technology (including AVX-512 and KNC).&lt;/P&gt;

&lt;P&gt;While this may not provide a comprehensive description of why you would want to use one intrinsic verses another, it will show you what is available and what it does.&lt;/P&gt;

&lt;P&gt;Note, when using this guide, checking a specific technology filters in the added capability. IOW if you want everything up to AVX2 you will need to check the boxes up to AVX2.&lt;/P&gt;

&lt;P&gt;KNC is a little tricky in that legacy instructions that are supported are not listed. I think Intel could improve the Intrinsics Guide by having two check boxes in the Technologies section. One for added instructions, and one for all supported on the system with the selected technology.&lt;/P&gt;

&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2016 14:47:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Intrinsic-for-float-half-float-conversion-is-undefined/m-p/1075563#M59762</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2016-04-05T14:47:33Z</dc:date>
    </item>
    <item>
      <title>Quote:jimdempseyatthecove</title>
      <link>https://community.intel.com/t5/Software-Archive/Intrinsic-for-float-half-float-conversion-is-undefined/m-p/1075564#M59763</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;jimdempseyatthecove wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;Look at the &lt;A href="https://software.intel.com/sites/landingpage/IntrinsicsGuide/"&gt;Intel Intrinsics Guide&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;It has check boxes to filter on technology (including AVX-512 and KNC).&lt;/P&gt;

&lt;P&gt;While this may not provide a comprehensive description of why you would want to use one intrinsic verses another, it will show you what is available and what it does.&lt;/P&gt;

&lt;P&gt;Note, when using this guide, checking a specific technology filters in the added capability. IOW if you want everything up to AVX2 you will need to check the boxes up to AVX2.&lt;/P&gt;

&lt;P&gt;KNC is a little tricky in that legacy instructions that are supported are not listed. I think Intel could improve the Intrinsics Guide by having two check boxes in the Technologies section. One for added instructions, and one for all supported on the system with the selected technology.&lt;/P&gt;

&lt;P&gt;Jim Dempsey&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;Thanks for your reply. &amp;nbsp;I've used this page and didn't notice that there is a KNC down there. I just looked at AVX-512 and made this mistake. I noticed there are supported instructions but not listed too. So I went to the page I mentioned above and found these two i&lt;/SPAN&gt;ntrinsics&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;. I hope Intel could improve this, too.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2016 15:10:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Intrinsic-for-float-half-float-conversion-is-undefined/m-p/1075564#M59763</guid>
      <dc:creator>Coxious_H_1</dc:creator>
      <dc:date>2016-04-05T15:10:33Z</dc:date>
    </item>
  </channel>
</rss>

