<?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 Thanks, Guys. I wish I had in OpenCL* for CPU</title>
    <link>https://community.intel.com/t5/OpenCL-for-CPU/crash-when-setting-kernel-argument-for-dynamic-local-memory/m-p/1002434#M2873</link>
    <description>&lt;P&gt;Thanks, Guys. I wish I had known about this issue before.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;How about having a publicly accessible issue tracker, so that we can see what's broken.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Also, do you have a ballpark time for the next release?&lt;/SPAN&gt;&lt;/P&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;@Ofir thanks for the info about the api debugger : I had not been using it, but I will start once this issue is fixed.&lt;/DIV&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Cheers,&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Aaron&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&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>Wed, 30 Apr 2014 15:31:51 GMT</pubDate>
    <dc:creator>ABoxe</dc:creator>
    <dc:date>2014-04-30T15:31:51Z</dc:date>
    <item>
      <title>crash when setting kernel argument for dynamic local memory</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/crash-when-setting-kernel-argument-for-dynamic-local-memory/m-p/1002430#M2869</link>
      <description>&lt;P&gt;Hello List,&lt;/P&gt;

&lt;P&gt;I am trying to pass dynamically allocated local memory to my kernel.&lt;/P&gt;

&lt;P&gt;So, I am using the line&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;clSetKernelArg(myKernel, 2, localMemSize, NULL);&lt;/P&gt;

&lt;P&gt;where argument two in the kernel is prefixed by local.&lt;/P&gt;

&lt;P&gt;When I run this (windows 7, visual studio 2012), I get an exception:&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Unhandled exception at 0x51AFF594 (IntelOpenCLProfiler.dll) in ocldwt.exe: 0xC0000005: Access violation reading location 0x00000000.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Any ideas?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Aaron&lt;/P&gt;</description>
      <pubDate>Sun, 27 Apr 2014 14:46:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/crash-when-setting-kernel-argument-for-dynamic-local-memory/m-p/1002430#M2869</guid>
      <dc:creator>ABoxe</dc:creator>
      <dc:date>2014-04-27T14:46:11Z</dc:date>
    </item>
    <item>
      <title>I can easily reproduce this</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/crash-when-setting-kernel-argument-for-dynamic-local-memory/m-p/1002431#M2870</link>
      <description>&lt;P&gt;I can easily reproduce this on any intel sample project:&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Just add a dummy local variable to the kernel, (let's say it is argument number 8),&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;and call&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&amp;nbsp;error_code = clSetKernelArg(kernel, 7, 256, NULL);&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; if (CL_SUCCESS != error_code)&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; {&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LogError("Error: clSetKernelArg (6) returned %s.\n", TranslateOpenCLError(error_code));&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return error_code;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; }&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;This results in an access violation crash.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Apr 2014 13:13:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/crash-when-setting-kernel-argument-for-dynamic-local-memory/m-p/1002431#M2870</guid>
      <dc:creator>ABoxe</dc:creator>
      <dc:date>2014-04-29T13:13:13Z</dc:date>
    </item>
    <item>
      <title>Hi Aaron,We are aware of this</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/crash-when-setting-kernel-argument-for-dynamic-local-memory/m-p/1002432#M2871</link>
      <description>&lt;P&gt;Hi Aaron,&lt;/P&gt;
&lt;P&gt;We are aware of this issue. It will be fixed in a next release.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Apr 2014 05:42:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/crash-when-setting-kernel-argument-for-dynamic-local-memory/m-p/1002432#M2871</guid>
      <dc:creator>Dmitry_K_Intel</dc:creator>
      <dc:date>2014-04-30T05:42:34Z</dc:date>
    </item>
    <item>
      <title>Hi Aaron,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/crash-when-setting-kernel-argument-for-dynamic-local-memory/m-p/1002433#M2872</link>
      <description>&lt;P&gt;Hi Aaron,&lt;/P&gt;

&lt;P&gt;This is a known issue we have already addressed, and will be fixed on the next release&lt;/P&gt;

&lt;P&gt;(we will update the website in due course).&lt;/P&gt;

&lt;P&gt;For now you can work around this issue by disabling API Debugger:&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Visual Studio &amp;gt; Tools &amp;gt; Code Builder - Options &amp;gt; API Debugger&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;and uncheck "Enable OpenCL API Debugger".&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;This (disabling API Debugger) will not be necessary in the next release.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt;&amp;nbsp;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;API Debugger provides you valuable information about your OpenCL host application, such as:&lt;/SPAN&gt;&lt;/P&gt;

&lt;UL&gt;
	&lt;LI&gt;Trace of all your API calls with their return values, and parameters passed:&lt;BR /&gt;
		&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/10196iCEE7A689849EF7CC/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" title="36ED52A7-4871-4552-8239-6727334153A2.png" alt="36ED52A7-4871-4552-8239-6727334153A2.png" /&gt;&lt;/span&gt;&lt;BR /&gt;
		&amp;nbsp;&lt;/LI&gt;
	&lt;LI&gt;Objects (tree) view of all the Context, Devices, Memory OpenCL objects&lt;BR /&gt;
		&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/6930iBFCFEA74C6E3172D/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" title="objects_view.png" alt="objects_view.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
	&lt;LI&gt;etc&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;and much more.&lt;/P&gt;

&lt;P&gt;You can find more about it in&amp;nbsp;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;our &lt;A href="https://software.intel.com/en-us/node/505951"&gt;Users Guide&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks and sorry for the temporary inconvenience,&lt;/P&gt;

&lt;P&gt;Ofir Cohen&lt;/P&gt;</description>
      <pubDate>Wed, 30 Apr 2014 05:44:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/crash-when-setting-kernel-argument-for-dynamic-local-memory/m-p/1002433#M2872</guid>
      <dc:creator>Ofir_C_Intel</dc:creator>
      <dc:date>2014-04-30T05:44:00Z</dc:date>
    </item>
    <item>
      <title>Thanks, Guys. I wish I had</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/crash-when-setting-kernel-argument-for-dynamic-local-memory/m-p/1002434#M2873</link>
      <description>&lt;P&gt;Thanks, Guys. I wish I had known about this issue before.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;How about having a publicly accessible issue tracker, so that we can see what's broken.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Also, do you have a ballpark time for the next release?&lt;/SPAN&gt;&lt;/P&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;@Ofir thanks for the info about the api debugger : I had not been using it, but I will start once this issue is fixed.&lt;/DIV&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Cheers,&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Aaron&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&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>Wed, 30 Apr 2014 15:31:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/crash-when-setting-kernel-argument-for-dynamic-local-memory/m-p/1002434#M2873</guid>
      <dc:creator>ABoxe</dc:creator>
      <dc:date>2014-04-30T15:31:51Z</dc:date>
    </item>
  </channel>
</rss>

