<?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 clCreateProgramWithBinary segfault in OpenCL* for CPU</title>
    <link>https://community.intel.com/t5/OpenCL-for-CPU/clCreateProgramWithBinary-segfault/m-p/1140459#M5857</link>
    <description>&lt;P&gt;Hello.&lt;/P&gt;

&lt;P&gt;I get segfault on cpu device when I use&amp;nbsp;clCreateProgramWithBinary with "enqueue_kernel" of opencl 2.0&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Here is simple example -&amp;nbsp;&lt;A href="https://github.com/OmegaDoom/clCreateProgramWithBinary-segfault"&gt;https://github.com/OmegaDoom/clCreateProgramWithBinary-segfault&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;If we change device to gpu then no segfault.&lt;/P&gt;

&lt;P&gt;I have latest graphics driver -&amp;nbsp;&lt;SPAN style="font-size: 13.008px;"&gt;win64_24.20.100.6323&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;Intel® Core™ i7-7820HQ CPU @ 2.90GHz&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 07 Oct 2018 16:42:55 GMT</pubDate>
    <dc:creator>spiridonov__igor</dc:creator>
    <dc:date>2018-10-07T16:42:55Z</dc:date>
    <item>
      <title>clCreateProgramWithBinary segfault</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/clCreateProgramWithBinary-segfault/m-p/1140459#M5857</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;

&lt;P&gt;I get segfault on cpu device when I use&amp;nbsp;clCreateProgramWithBinary with "enqueue_kernel" of opencl 2.0&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Here is simple example -&amp;nbsp;&lt;A href="https://github.com/OmegaDoom/clCreateProgramWithBinary-segfault"&gt;https://github.com/OmegaDoom/clCreateProgramWithBinary-segfault&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;If we change device to gpu then no segfault.&lt;/P&gt;

&lt;P&gt;I have latest graphics driver -&amp;nbsp;&lt;SPAN style="font-size: 13.008px;"&gt;win64_24.20.100.6323&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;Intel® Core™ i7-7820HQ CPU @ 2.90GHz&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Oct 2018 16:42:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/clCreateProgramWithBinary-segfault/m-p/1140459#M5857</guid>
      <dc:creator>spiridonov__igor</dc:creator>
      <dc:date>2018-10-07T16:42:55Z</dc:date>
    </item>
    <item>
      <title>Hi IgorS,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/clCreateProgramWithBinary-segfault/m-p/1140460#M5858</link>
      <description>&lt;P&gt;Hi IgorS,&lt;/P&gt;

&lt;P&gt;Thanks for such an insightful issue report.&lt;/P&gt;

&lt;P&gt;Which cpu implementation/device name/platform are you using?&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Can you try Intel® CPU Runtime for OpenCL™ Applications 18.1 to use the CPU device? It debuted last week. At this point, any related changes would go into this implementation. This implementation replaces experimental cpu implementations included with the SDK and the 16.1.2 release.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;See the Linux* OS and Windows* OS CPU downloads on this page:&amp;nbsp;&lt;SPAN style="font-size: 13.008px;"&gt;&lt;A href="https://software.intel.com/en-us/articles/opencl-drivers" target="_blank"&gt;https://software.intel.com/en-us/articles/opencl-drivers&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;-MichaelC&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Oct 2018 18:47:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/clCreateProgramWithBinary-segfault/m-p/1140460#M5858</guid>
      <dc:creator>Michael_C_Intel1</dc:creator>
      <dc:date>2018-10-16T18:47:53Z</dc:date>
    </item>
    <item>
      <title>Hi Michael.</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/clCreateProgramWithBinary-segfault/m-p/1140461#M5859</link>
      <description>&lt;P&gt;Hi Michael.&lt;/P&gt;

&lt;P&gt;The problem still exists on driver 25.20.100.6326 (although it's good that qt is working now:)).&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;I wasn't precise. &lt;/SPAN&gt;&lt;SPAN style="font-size: 12px;"&gt;clCreateProgramWithBinary itself doesn't segfault. It's&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em;"&gt;clEnqueueReadBuffer that throws but only with combination of&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px;"&gt;clCreateProgramWithBinary.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;I'm using first suitable intel platform - Intel(R) OpenCL and device - OpenCL 2.1 (Build 716)&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2018 03:15:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/clCreateProgramWithBinary-segfault/m-p/1140461#M5859</guid>
      <dc:creator>spiridonov__igor</dc:creator>
      <dc:date>2018-10-17T03:15:00Z</dc:date>
    </item>
    <item>
      <title>Thanks for the reproducer. I</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/clCreateProgramWithBinary-segfault/m-p/1140462#M5860</link>
      <description>&lt;P&gt;Thanks for the reproducer.&amp;nbsp;I've created internal filing (reference #3724) w.r.t to this issue describing my findings for the dev team.&lt;/P&gt;&lt;P&gt;-MichaelC&lt;/P&gt;</description>
      <pubDate>Fri, 09 Nov 2018 23:26:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/clCreateProgramWithBinary-segfault/m-p/1140462#M5860</guid>
      <dc:creator>Michael_C_Intel1</dc:creator>
      <dc:date>2018-11-09T23:26:00Z</dc:date>
    </item>
    <item>
      <title>Thank you Michael.</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/clCreateProgramWithBinary-segfault/m-p/1140463#M5861</link>
      <description>&lt;P&gt;Thank you Michael.&lt;/P&gt;&lt;P&gt;This problem arose when I tried to use pyopencl. By default it cashes kernels with&amp;nbsp;clCreateProgramWithBinary similar to my example.&amp;nbsp;&amp;nbsp;it's possible to turn it off but better to fix this bug.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Nov 2018 13:21:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/clCreateProgramWithBinary-segfault/m-p/1140463#M5861</guid>
      <dc:creator>spiridonov__igor</dc:creator>
      <dc:date>2018-11-13T13:21:34Z</dc:date>
    </item>
  </channel>
</rss>

