<?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 (Linux) Incompatibility between SDK experimental ICD and CPU runtime 6.4.0.25 in OpenCL* for CPU</title>
    <link>https://community.intel.com/t5/OpenCL-for-CPU/Linux-Incompatibility-between-SDK-experimental-ICD-and-CPU/m-p/1158277#M6241</link>
    <description>&lt;P&gt;I have recently installed the 2017 R2 SDK on a Linux machine, alongside an existing installation of the 2016 CPU runtime. At installation time, I have opted to install the experimental runtime with OpenCL 2.1 support. Now, when I run &lt;A href="http://github.com/Oblomov/clinfo"&gt;clinfo&lt;/A&gt; I randomly come across a segmentation fault&lt;/P&gt;

&lt;P&gt;Stack dump:&lt;BR /&gt;
	0.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Running pass 'ChannelPipeTransformation' on module 'main'.&lt;/P&gt;

&lt;P&gt;due to the 2016 runtime finding the experimental libOclCpuBackEnd.so instead of its own. I can work around this by selectively hiding one of the two platforms, but an “official” fix (e.g. by renaming the libraries that differ between experimental and official runtimes) would be preferrable.&lt;/P&gt;</description>
    <pubDate>Thu, 22 Mar 2018 21:55:59 GMT</pubDate>
    <dc:creator>Bilotta__Giuseppe</dc:creator>
    <dc:date>2018-03-22T21:55:59Z</dc:date>
    <item>
      <title>(Linux) Incompatibility between SDK experimental ICD and CPU runtime 6.4.0.25</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Linux-Incompatibility-between-SDK-experimental-ICD-and-CPU/m-p/1158277#M6241</link>
      <description>&lt;P&gt;I have recently installed the 2017 R2 SDK on a Linux machine, alongside an existing installation of the 2016 CPU runtime. At installation time, I have opted to install the experimental runtime with OpenCL 2.1 support. Now, when I run &lt;A href="http://github.com/Oblomov/clinfo"&gt;clinfo&lt;/A&gt; I randomly come across a segmentation fault&lt;/P&gt;

&lt;P&gt;Stack dump:&lt;BR /&gt;
	0.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Running pass 'ChannelPipeTransformation' on module 'main'.&lt;/P&gt;

&lt;P&gt;due to the 2016 runtime finding the experimental libOclCpuBackEnd.so instead of its own. I can work around this by selectively hiding one of the two platforms, but an “official” fix (e.g. by renaming the libraries that differ between experimental and official runtimes) would be preferrable.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Mar 2018 21:55:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Linux-Incompatibility-between-SDK-experimental-ICD-and-CPU/m-p/1158277#M6241</guid>
      <dc:creator>Bilotta__Giuseppe</dc:creator>
      <dc:date>2018-03-22T21:55:59Z</dc:date>
    </item>
    <item>
      <title>Hi GiuseppeB,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Linux-Incompatibility-between-SDK-experimental-ICD-and-CPU/m-p/1158278#M6242</link>
      <description>&lt;P&gt;Hi GiuseppeB,&lt;/P&gt;

&lt;P&gt;Thanks for sharing your concern.&lt;/P&gt;

&lt;P&gt;More flexibility in terms of picking an implementation can be useful.&lt;/P&gt;

&lt;P&gt;Would it be possible for you to share an example file tree of the absolute paths to various libraries in use in your set up? Can it include date and time stamp info? This would assist in a sighting report.&lt;/P&gt;

&lt;P&gt;Can you also share an example of how your icd references are set up?&amp;nbsp;&lt;SPAN style="font-size: 1em;"&gt;A dump like this would be helpful to grab icd references:&lt;/SPAN&gt;&lt;/P&gt;

&lt;DIV&gt;
	&lt;PRE class="brush:bash;"&gt;$find /etc/OpenCL/vendors/*icd | xargs -I{} sh -c "echo {}; cat {}; echo;"
/etc/OpenCL/vendors/intel_exp64.icd
/opt/intel/opencl/exp-runtime-2.1/lib64/libintelocl_2_1.so
/etc/OpenCL/vendors/intel.icd
/opt/intel/opencl/libIntelOpenCL.so&lt;/PRE&gt;
&lt;/DIV&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;

&lt;P&gt;-MichaelC&lt;/P&gt;</description>
      <pubDate>Fri, 23 Mar 2018 22:08:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Linux-Incompatibility-between-SDK-experimental-ICD-and-CPU/m-p/1158278#M6242</guid>
      <dc:creator>Michael_C_Intel1</dc:creator>
      <dc:date>2018-03-23T22:08:38Z</dc:date>
    </item>
    <item>
      <title>GiuseppeB,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Linux-Incompatibility-between-SDK-experimental-ICD-and-CPU/m-p/1158279#M6243</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;GiuseppeB,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;The forum should have an attachment facility to post a list via &lt;/SPAN&gt;&lt;STRONG&gt;Attach Files to Post&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 12px;"&gt;dropdown.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;-MichaelC&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Mar 2018 22:11:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Linux-Incompatibility-between-SDK-experimental-ICD-and-CPU/m-p/1158279#M6243</guid>
      <dc:creator>Michael_C_Intel1</dc:creator>
      <dc:date>2018-03-23T22:11:12Z</dc:date>
    </item>
    <item>
      <title>Hello Michael, thanks for</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Linux-Incompatibility-between-SDK-experimental-ICD-and-CPU/m-p/1158280#M6244</link>
      <description>&lt;P&gt;Hello Michael, thanks for your reply.&lt;/P&gt;

&lt;P&gt;I'm running on Debian unstable with the ocl-icd-libopencl1 (version 2.2.12-1) as ICD dispatcher.&lt;/P&gt;

&lt;P&gt;The list of ICDs is short enough so I'm putting it inline here:&lt;/P&gt;

&lt;PRE class="brush:plain;"&gt;/etc/OpenCL/vendors/amdocl64.icd
libamdocl64.so
/etc/OpenCL/vendors/intel64.icd
/opt/intel/opencl-1.2-6.4.0.25/lib64/libintelocl.so
/etc/OpenCL/vendors/intel-beignet.icd
/usr/local/lib/beignet//libcl.so
/etc/OpenCL/vendors/intel_exp64.icd
/opt/intel/opencl/exp-runtime-2.1/lib64/libintelocl_2_1.so
/etc/OpenCL/vendors/mesa.icd
libMesaOpenCL.so.1
/etc/OpenCL/vendors/nvidia.icd
libnvidia-opencl.so.1
/etc/OpenCL/vendors/pocl.icd
/usr/local/lib/libpocl.so.2.2.0&lt;/PRE&gt;

&lt;P&gt;To verify that the issue arises from the conflict between the intel64 and intel_exp64 ICDs, I've tried running with only a subset of the ICDs, removing one of them each time, and keeping all the others; I get the segfault if and only if both intel64 and intel_exp64 are present. I do not get it when only one of them are present, even if all other ICDs are there. I was also able to reproduce the issue by only having intel64 and intel_exp64 as ICDs, and again removing either of them allows clinfo to complete without segmentation faults.&lt;/P&gt;

&lt;P&gt;I'm attaching to this post the find -ls output for the Intel SDK and runtime installations, as well as the bt full output from gdb when clinfo segfaults. Let me know if you need any more information.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Mar 2018 08:11:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Linux-Incompatibility-between-SDK-experimental-ICD-and-CPU/m-p/1158280#M6244</guid>
      <dc:creator>Bilotta__Giuseppe</dc:creator>
      <dc:date>2018-03-26T08:11:32Z</dc:date>
    </item>
  </channel>
</rss>

