<?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 clBuildProgram crash with OpenCL SDK Debugger in OpenCL* for CPU</title>
    <link>https://community.intel.com/t5/OpenCL-for-CPU/clBuildProgram-crash-with-OpenCL-SDK-Debugger/m-p/945461#M1878</link>
    <description>&lt;P&gt;Hi everybody - Im new to this forum.&lt;BR /&gt;
	The problem im experiencing is when im trying to add the build option to&amp;nbsp;clBuildProgram like so:&lt;BR /&gt;
	&lt;BR /&gt;
	&lt;STRONG&gt;err = clBuildProgram(m_program, 0, NULL, "r; -g - s \"r; C:/Users/michal/Documents/Visual//Studio//2010/Projects/FCGL2/kernel.cl", NULL, NULL);&lt;/STRONG&gt;&lt;BR /&gt;
	&lt;BR /&gt;
	At runtime the program executes everything up to this point and simply crashes. Im using Visual Studio 2013 together with the newest Intel OpenCL.&lt;BR /&gt;
	&lt;BR /&gt;
	The NDRange is exactly 2x4x2 and set in codebuilder options as well. &lt;STRONG&gt;buildLog&lt;/STRONG&gt; provides me with the message :&lt;BR /&gt;
	&lt;BR /&gt;
	&lt;STRONG&gt;-&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;buildLog&amp;nbsp;&amp;nbsp; &amp;nbsp;0x02c36688 "Error in processing command line: Don't understand command line argument \"r;\"!"&amp;nbsp;&amp;nbsp; &amp;nbsp;char *&lt;/STRONG&gt;&lt;BR /&gt;
	&lt;BR /&gt;
	Besides this my application runs smoothly, I just wanted to try the debugger. Can anyone help?&lt;BR /&gt;
	&lt;BR /&gt;
	Thanks.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Mar 2014 15:00:01 GMT</pubDate>
    <dc:creator>Michal__M_</dc:creator>
    <dc:date>2014-03-13T15:00:01Z</dc:date>
    <item>
      <title>clBuildProgram crash with OpenCL SDK Debugger</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/clBuildProgram-crash-with-OpenCL-SDK-Debugger/m-p/945461#M1878</link>
      <description>&lt;P&gt;Hi everybody - Im new to this forum.&lt;BR /&gt;
	The problem im experiencing is when im trying to add the build option to&amp;nbsp;clBuildProgram like so:&lt;BR /&gt;
	&lt;BR /&gt;
	&lt;STRONG&gt;err = clBuildProgram(m_program, 0, NULL, "r; -g - s \"r; C:/Users/michal/Documents/Visual//Studio//2010/Projects/FCGL2/kernel.cl", NULL, NULL);&lt;/STRONG&gt;&lt;BR /&gt;
	&lt;BR /&gt;
	At runtime the program executes everything up to this point and simply crashes. Im using Visual Studio 2013 together with the newest Intel OpenCL.&lt;BR /&gt;
	&lt;BR /&gt;
	The NDRange is exactly 2x4x2 and set in codebuilder options as well. &lt;STRONG&gt;buildLog&lt;/STRONG&gt; provides me with the message :&lt;BR /&gt;
	&lt;BR /&gt;
	&lt;STRONG&gt;-&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;buildLog&amp;nbsp;&amp;nbsp; &amp;nbsp;0x02c36688 "Error in processing command line: Don't understand command line argument \"r;\"!"&amp;nbsp;&amp;nbsp; &amp;nbsp;char *&lt;/STRONG&gt;&lt;BR /&gt;
	&lt;BR /&gt;
	Besides this my application runs smoothly, I just wanted to try the debugger. Can anyone help?&lt;BR /&gt;
	&lt;BR /&gt;
	Thanks.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Mar 2014 15:00:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/clBuildProgram-crash-with-OpenCL-SDK-Debugger/m-p/945461#M1878</guid>
      <dc:creator>Michal__M_</dc:creator>
      <dc:date>2014-03-13T15:00:01Z</dc:date>
    </item>
    <item>
      <title>Hi Michal,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/clBuildProgram-crash-with-OpenCL-SDK-Debugger/m-p/945462#M1879</link>
      <description>&lt;P&gt;Hi Michal,&lt;/P&gt;

&lt;P&gt;As the build error points the options string to clBuildProgram is wrong. It should be&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;"-g - s&amp;nbsp;C:/Users/michal/Documents/Visual//Studio//2010/Projects/FCGL2/kernel.cl"&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Raghu&lt;/P&gt;</description>
      <pubDate>Thu, 13 Mar 2014 17:13:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/clBuildProgram-crash-with-OpenCL-SDK-Debugger/m-p/945462#M1879</guid>
      <dc:creator>Raghupathi_M_Intel</dc:creator>
      <dc:date>2014-03-13T17:13:08Z</dc:date>
    </item>
    <item>
      <title>Quote:Raghu Muthyalampalli</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/clBuildProgram-crash-with-OpenCL-SDK-Debugger/m-p/945463#M1880</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Raghu Muthyalampalli (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Hi Michal,&lt;/P&gt;

&lt;P&gt;As the build error points the options string to clBuildProgram is wrong. It should be&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;"-g - s&amp;nbsp;C:/Users/michal/Documents/Visual//Studio//2010/Projects/FCGL2/kernel.cl"&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Raghu&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;
	&lt;BR /&gt;
	It worked, no error! Follow-up question - how do actually I use the debugger? It seems to me that it does not do much, I was kind of expecting some new dialog window to open or something similar...&amp;nbsp;&lt;BR /&gt;
	Cant find a "how to" on intels webpage either...Any clue?&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Mar 2014 17:50:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/clBuildProgram-crash-with-OpenCL-SDK-Debugger/m-p/945463#M1880</guid>
      <dc:creator>Michal__M_</dc:creator>
      <dc:date>2014-03-13T17:50:23Z</dc:date>
    </item>
  </channel>
</rss>

