<?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 Alex, in OpenCL* for CPU</title>
    <link>https://community.intel.com/t5/OpenCL-for-CPU/Bug-in-OpenCL-debugger/m-p/971107#M2391</link>
    <description>Hi Alex,

The issue is reproducible for me, I will submit a ticket and inform you of the investigation results.

Thanks,
Yuri</description>
    <pubDate>Mon, 19 Aug 2013 12:48:16 GMT</pubDate>
    <dc:creator>Yuri_K_Intel</dc:creator>
    <dc:date>2013-08-19T12:48:16Z</dc:date>
    <item>
      <title>Bug in OpenCL debugger</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Bug-in-OpenCL-debugger/m-p/971104#M2388</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have some problems with the Intel Debugger. Here is below and attached a minimal code where you can find the problem (the site doesn't allow .cl extension, so the file is in cpp extension...).&lt;/P&gt;
&lt;P&gt;The thing is, I cannot directly give variable adresses to functions who include barriers... Seeing the simplicity of the code, I think it is a bug of your debugger.&lt;/P&gt;
&lt;P&gt;I am running this kernel on Windows 7, with Visual Studio 2010, on Intel Core i7-4800MQ CPU, and with a global and local work size of {1,1}.&lt;/P&gt;
&lt;P&gt;Thank you in advance for all the help you could provide.&lt;/P&gt;
&lt;P&gt;[cpp]&lt;/P&gt;
&lt;P&gt;void testFunction(int *test)&lt;BR /&gt;{&lt;/P&gt;
&lt;P&gt;// If I delete de barriers, the problem disappears&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;printf("\tProcessRay , start\n");&lt;/P&gt;
&lt;P&gt;barrier(CLK_LOCAL_MEM_FENCE);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;printf("\t\ttest value : %i \n", *test);&lt;/P&gt;
&lt;P&gt;barrier(CLK_LOCAL_MEM_FENCE);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;printf("\tProcessRay , end \n");&lt;/P&gt;
&lt;P&gt;barrier(CLK_LOCAL_MEM_FENCE);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;return;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;__kernel void Kernel_Main()&lt;BR /&gt;{&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;int test = 10;&lt;BR /&gt; int *test2 = &amp;amp;test;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;// When I launch this first test, no problem occurs&lt;BR /&gt; printf("Lauching test 1 \n");&lt;BR /&gt; barrier(CLK_LOCAL_MEM_FENCE);&lt;BR /&gt; testFunction(test2);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;// Here, I have an exception of memory reading violation... :-(&lt;BR /&gt; printf("Lauching test 2 \n");&lt;BR /&gt; barrier(CLK_LOCAL_MEM_FENCE);&lt;BR /&gt; testFunction(&amp;amp;test);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;[/cpp]&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2013 14:48:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Bug-in-OpenCL-debugger/m-p/971104#M2388</guid>
      <dc:creator>Alexandre_D_1</dc:creator>
      <dc:date>2013-08-07T14:48:30Z</dc:date>
    </item>
    <item>
      <title>I am not able to reproduce</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Bug-in-OpenCL-debugger/m-p/971105#M2389</link>
      <description>&lt;P&gt;I am not able to reproduce the issue. Can you provide the exact steps and maybe your host code too?&lt;/P&gt;
&lt;P&gt;Raghu&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2013 20:09:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Bug-in-OpenCL-debugger/m-p/971105#M2389</guid>
      <dc:creator>Raghupathi_M_Intel</dc:creator>
      <dc:date>2013-08-13T20:09:13Z</dc:date>
    </item>
    <item>
      <title>Thank you for the answer, and</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Bug-in-OpenCL-debugger/m-p/971106#M2390</link>
      <description>&lt;P&gt;Thank you for the answer, and sorry for the delay.&lt;/P&gt;
&lt;P&gt;I have put the project and some images of what I get in the archives attached.&lt;/P&gt;
&lt;P&gt;Alex&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2013 09:57:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Bug-in-OpenCL-debugger/m-p/971106#M2390</guid>
      <dc:creator>Alexandre_D_1</dc:creator>
      <dc:date>2013-08-16T09:57:10Z</dc:date>
    </item>
    <item>
      <title>Hi Alex,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Bug-in-OpenCL-debugger/m-p/971107#M2391</link>
      <description>Hi Alex,

The issue is reproducible for me, I will submit a ticket and inform you of the investigation results.

Thanks,
Yuri</description>
      <pubDate>Mon, 19 Aug 2013 12:48:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Bug-in-OpenCL-debugger/m-p/971107#M2391</guid>
      <dc:creator>Yuri_K_Intel</dc:creator>
      <dc:date>2013-08-19T12:48:16Z</dc:date>
    </item>
    <item>
      <title>I also noticed, that the</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Bug-in-OpenCL-debugger/m-p/971108#M2392</link>
      <description>I also noticed, that the issue happens only when a pointer is calculated as a function argument, I mean:
testFunction(&amp;amp;test);
Using already calculated pointer:
int *test2 = &amp;amp;test;
testFunction(test2);
doesn't produce this issue (no matter how much time testFunction is called). So I hope you will be able to use this solution as a workaround,

Thanks,
Yuri</description>
      <pubDate>Mon, 19 Aug 2013 13:13:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Bug-in-OpenCL-debugger/m-p/971108#M2392</guid>
      <dc:creator>Yuri_K_Intel</dc:creator>
      <dc:date>2013-08-19T13:13:04Z</dc:date>
    </item>
  </channel>
</rss>

