<?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 I verified that indeed the in OpenCL* for CPU</title>
    <link>https://community.intel.com/t5/OpenCL-for-CPU/Bug-in-OpenCL-kernel-builder-on-Intel-HD-Graphics/m-p/921512#M1418</link>
    <description>&lt;P&gt;I verified that indeed the 3257 driver has the bug. Please update the driver and let us know.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
	Raghu&lt;/P&gt;</description>
    <pubDate>Fri, 21 Feb 2014 21:41:21 GMT</pubDate>
    <dc:creator>Raghupathi_M_Intel</dc:creator>
    <dc:date>2014-02-21T21:41:21Z</dc:date>
    <item>
      <title>Bug in OpenCL kernel builder on Intel HD Graphics</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Bug-in-OpenCL-kernel-builder-on-Intel-HD-Graphics/m-p/921510#M1416</link>
      <description>&lt;P&gt;Hello.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I found a curious bug in kernel builder of Intel OpenCL SDK (Version 2013 R3 64-bit) when it executes on Intel HD Graphics 4600 (Core i5 4570).&lt;/P&gt;

&lt;P&gt;I write following kernel:&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;
#define cn 1

__local uchar val1; val1 = 19;
__local uchar val2; val2 = 18;
__local uchar val3; val3 = 9;
__local uchar res; res = 255;
for (int c = 0; c &amp;lt; cn; ++c)
    if ( val2 &amp;gt; val1 || val3 &amp;lt; val1 )
        {
            res = 0;
            break;
        }&lt;/PRE&gt;

&lt;P&gt;This is a simplified version of a piece of code of InRange function from OpenCV library.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Correct value 'res' variable is 0, but I have 255. On other platforms (Intel CPU, NVIDIA, AMD) this code works correct.&amp;nbsp;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;If remove 'break' this code works fine on all platforms.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;HD Graphics driver version:&amp;nbsp;9.18.10.3257&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2014 10:02:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Bug-in-OpenCL-kernel-builder-on-Intel-HD-Graphics/m-p/921510#M1416</guid>
      <dc:creator>Alexander_Karsakov</dc:creator>
      <dc:date>2014-02-21T10:02:39Z</dc:date>
    </item>
    <item>
      <title>Hi Alexander,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Bug-in-OpenCL-kernel-builder-on-Intel-HD-Graphics/m-p/921511#M1417</link>
      <description>&lt;P&gt;Hi Alexander,&lt;/P&gt;

&lt;P&gt;The driver you are using is old. It is possible that there is a bug in that version, but I tested this on the latest driver on downloadcenter.intel.com (10.18.10.3345) and I get the correct result. Is it possible for you to update the driver and try again?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
	Raghu&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2014 21:18:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Bug-in-OpenCL-kernel-builder-on-Intel-HD-Graphics/m-p/921511#M1417</guid>
      <dc:creator>Raghupathi_M_Intel</dc:creator>
      <dc:date>2014-02-21T21:18:09Z</dc:date>
    </item>
    <item>
      <title>I verified that indeed the</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Bug-in-OpenCL-kernel-builder-on-Intel-HD-Graphics/m-p/921512#M1418</link>
      <description>&lt;P&gt;I verified that indeed the 3257 driver has the bug. Please update the driver and let us know.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
	Raghu&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2014 21:41:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Bug-in-OpenCL-kernel-builder-on-Intel-HD-Graphics/m-p/921512#M1418</guid>
      <dc:creator>Raghupathi_M_Intel</dc:creator>
      <dc:date>2014-02-21T21:41:21Z</dc:date>
    </item>
    <item>
      <title>Hi Raghu,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Bug-in-OpenCL-kernel-builder-on-Intel-HD-Graphics/m-p/921513#M1419</link>
      <description>&lt;P&gt;Hi Raghu,&lt;/P&gt;

&lt;P&gt;I installed new version of HD graphics driver and this code works correctly.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks a lot!&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2014 07:14:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Bug-in-OpenCL-kernel-builder-on-Intel-HD-Graphics/m-p/921513#M1419</guid>
      <dc:creator>Alexander_Karsakov</dc:creator>
      <dc:date>2014-02-24T07:14:24Z</dc:date>
    </item>
  </channel>
</rss>

