<?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 Intel OpenCL code samples can in OpenCL* for CPU</title>
    <link>https://community.intel.com/t5/OpenCL-for-CPU/OclCpuDebugging2-dll-Exception-when-trying-to-hit-breakpoint-in/m-p/1087826#M4826</link>
    <description>&lt;P&gt;Intel OpenCL code samples can be downloaded separately from &lt;A href="https://software.intel.com/en-us/intel-opencl-support/code-samples.&amp;nbsp;" target="_blank"&gt;https://software.intel.com/en-us/intel-opencl-support/code-samples.&amp;nbsp;&lt;/A&gt;;&lt;/P&gt;

&lt;P&gt;Could you please provide more details about OpenCL driver you are using?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 08 Aug 2016 08:55:45 GMT</pubDate>
    <dc:creator>Vladimir_L_Intel</dc:creator>
    <dc:date>2016-08-08T08:55:45Z</dc:date>
    <item>
      <title>OclCpuDebugging2.dll Exception when trying to hit breakpoint in OpenCL code</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/OclCpuDebugging2-dll-Exception-when-trying-to-hit-breakpoint-in/m-p/1087822#M4822</link>
      <description>&lt;P&gt;I've tried to follow all the instructions for setting up Code-Builder to debug our OpenCL code in Visual Studio 2015 in x64 Windows (we currently debug our Linux code using the Ubuntu IDEs we use simply start working as soon as we add the Intel drivers and select the CPU device for processing).&amp;nbsp;&lt;/P&gt;

&lt;P&gt;- I added the Windows Intel OpenCl platform. Once I did that I get both CPU and GPU devices enabled in our app and can indeed render our images in the Gpu and Cpu (I can tell given the 100x speed difference!)&lt;/P&gt;

&lt;P&gt;- I installed the OpenCL SDK&amp;nbsp;&lt;/P&gt;

&lt;P&gt;- I updated the OpenCL.dll in SYSWOW64 as instructed in another post&lt;/P&gt;

&lt;P&gt;- I enabled Code-Builder-&amp;gt;Debugger-&amp;gt;Options-&amp;gt;Enable...CPU device (although I have no idea how to set the 'Work Items'). It popped up a firewall warning the first time I attempted a run but after I told the firewall dialogue to ignore that, I got no more complaints.&lt;/P&gt;

&lt;P&gt;- I made sure my path to the cl files was set to the full path when compiled and opened those files in VS to set the breakpoints&lt;/P&gt;

&lt;P&gt;But even with all this I keep getting the following exception:&lt;/P&gt;

&lt;P&gt;Exception thrown at 0x00007FFA49154AB3 (OclCpuDebugging2.dll) in XXX.exe: 0xC0000005: Access violation reading location 0x0000000000000010.&lt;/P&gt;

&lt;P&gt;I think I've reviewed most of the commentary and advice on this blog. Any suggestions?&lt;/P&gt;

&lt;P&gt;Steve&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Aug 2016 19:04:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/OclCpuDebugging2-dll-Exception-when-trying-to-hit-breakpoint-in/m-p/1087822#M4822</guid>
      <dc:creator>steve_w_2</dc:creator>
      <dc:date>2016-08-07T19:04:06Z</dc:date>
    </item>
    <item>
      <title>Thanks for this report.  Does</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/OclCpuDebugging2-dll-Exception-when-trying-to-hit-breakpoint-in/m-p/1087823#M4823</link>
      <description>&lt;P&gt;Thanks for this report.&amp;nbsp; Does this issue happen with all kernels or is it specific to yours?&amp;nbsp; Can you replicate the behavior with one of the code builder template projects or one of the Intel OpenCL samples?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Aug 2016 19:22:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/OclCpuDebugging2-dll-Exception-when-trying-to-hit-breakpoint-in/m-p/1087823#M4823</guid>
      <dc:creator>Jeffrey_M_Intel1</dc:creator>
      <dc:date>2016-08-07T19:22:34Z</dc:date>
    </item>
    <item>
      <title>Hi Jeffrey</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/OclCpuDebugging2-dll-Exception-when-trying-to-hit-breakpoint-in/m-p/1087824#M4824</link>
      <description>&lt;P&gt;Hi Jeffrey&lt;/P&gt;

&lt;P&gt;I haven't had an opportunity to poke around the samples - I was hoping to be able to focus on porting our existing product code. It runs fine on the GPU (and CPU, given Intel's drivers). I'll see if I can dig into them (assuming I can find them). Any ideas on what may be going on here in the meantime?&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Aug 2016 23:19:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/OclCpuDebugging2-dll-Exception-when-trying-to-hit-breakpoint-in/m-p/1087824#M4824</guid>
      <dc:creator>steve_w_2</dc:creator>
      <dc:date>2016-08-07T23:19:03Z</dc:date>
    </item>
    <item>
      <title>Um... anyone know where the</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/OclCpuDebugging2-dll-Exception-when-trying-to-hit-breakpoint-in/m-p/1087825#M4825</link>
      <description>&lt;P&gt;Um... anyone know where the SDK hides the code samples?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Aug 2016 23:35:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/OclCpuDebugging2-dll-Exception-when-trying-to-hit-breakpoint-in/m-p/1087825#M4825</guid>
      <dc:creator>steve_w_2</dc:creator>
      <dc:date>2016-08-07T23:35:38Z</dc:date>
    </item>
    <item>
      <title>Intel OpenCL code samples can</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/OclCpuDebugging2-dll-Exception-when-trying-to-hit-breakpoint-in/m-p/1087826#M4826</link>
      <description>&lt;P&gt;Intel OpenCL code samples can be downloaded separately from &lt;A href="https://software.intel.com/en-us/intel-opencl-support/code-samples.&amp;nbsp;" target="_blank"&gt;https://software.intel.com/en-us/intel-opencl-support/code-samples.&amp;nbsp;&lt;/A&gt;;&lt;/P&gt;

&lt;P&gt;Could you please provide more details about OpenCL driver you are using?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2016 08:55:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/OclCpuDebugging2-dll-Exception-when-trying-to-hit-breakpoint-in/m-p/1087826#M4826</guid>
      <dc:creator>Vladimir_L_Intel</dc:creator>
      <dc:date>2016-08-08T08:55:45Z</dc:date>
    </item>
    <item>
      <title>Hi</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/OclCpuDebugging2-dll-Exception-when-trying-to-hit-breakpoint-in/m-p/1087827#M4827</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;Yes - I have the "OpenCL runtime for Intel Core and Xeon Processors 5.2.0.10002" installed, Like I mentioned, it runs fine when I select that device in OpenCL (although, naturally, slowly). It's only when I add enable Code-Builder debugging and have the -g -s compile switches set that I get these crashes (breakpoints or not) as soon as the first kernel is run.&lt;/P&gt;

&lt;P&gt;I wouldn't be surprised if we're not setting up something correctly for the device (clContext or the like). I can dive into the thread stacks on the crash too. Any suggestions?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2016 20:24:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/OclCpuDebugging2-dll-Exception-when-trying-to-hit-breakpoint-in/m-p/1087827#M4827</guid>
      <dc:creator>steve_w_2</dc:creator>
      <dc:date>2016-08-08T20:24:52Z</dc:date>
    </item>
    <item>
      <title>hi,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/OclCpuDebugging2-dll-Exception-when-trying-to-hit-breakpoint-in/m-p/1087828#M4828</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;

&lt;P&gt;Please use the latest CPU RT (16.1.1) published recently it contains fix for Debugging functionality:&amp;nbsp;https://software.intel.com/en-us/articles/opencl-drivers#core_xeon&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 12:58:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/OclCpuDebugging2-dll-Exception-when-trying-to-hit-breakpoint-in/m-p/1087828#M4828</guid>
      <dc:creator>Vladimir_L_Intel</dc:creator>
      <dc:date>2016-08-16T12:58:30Z</dc:date>
    </item>
  </channel>
</rss>

