<?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 Aram &amp; Yuri, in OpenCL* for CPU</title>
    <link>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-support-for-C-template/m-p/1021398#M3306</link>
    <description>&lt;P&gt;Aram &amp;amp; Yuri,&lt;/P&gt;

&lt;P&gt;I moved this thread to the OpenCL SDK forum. If you think this is inappropriate, please let me know.&lt;/P&gt;

&lt;P&gt;Regards&lt;BR /&gt;
	--&lt;BR /&gt;
	Taylor&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Aug 2014 17:00:35 GMT</pubDate>
    <dc:creator>TaylorIoTKidd</dc:creator>
    <dc:date>2014-08-12T17:00:35Z</dc:date>
    <item>
      <title>OpenCL support for C++ template</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-support-for-C-template/m-p/1021395#M3303</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm trying to port an OpenCL kernel that contains C++ template declarations. The compilation of the kernel code (with clCreateProgramWithSource) fails because it does not recognise the "template" symbol.&lt;/P&gt;

&lt;P&gt;Is there a way around this?&lt;/P&gt;

&lt;P&gt;I'm using the latest Intel OpenCL SDK on a machine equipped with Xeon Phi, and the example codes run just fine.&lt;/P&gt;

&lt;P&gt;Many thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2014 07:40:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-support-for-C-template/m-p/1021395#M3303</guid>
      <dc:creator>Aram_S_</dc:creator>
      <dc:date>2014-08-11T07:40:24Z</dc:date>
    </item>
    <item>
      <title>Hi Aram,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-support-for-C-template/m-p/1021396#M3304</link>
      <description>Hi Aram,

Please note that there is a separate forum for Intel SDK for OpenCL Applications - &lt;A href="https://software.intel.com/en-us/forums/intel-opencl-sdk" target="_blank"&gt;https://software.intel.com/en-us/forums/intel-opencl-sdk&lt;/A&gt;.

As for your question - I guess that this kernel was developed using AMD APP SDK which has some support for C++ template called "Bolt". This is not a standard OpenCL feature (currently at least), so I guess naive solution would be to get rid of template keyword and implement as many kernels (with as many data types) as you wish to support.

Thanks,
Yuri</description>
      <pubDate>Mon, 11 Aug 2014 08:54:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-support-for-C-template/m-p/1021396#M3304</guid>
      <dc:creator>Yuri_K_Intel</dc:creator>
      <dc:date>2014-08-11T08:54:49Z</dc:date>
    </item>
    <item>
      <title>Hi Yuri and thank you for</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-support-for-C-template/m-p/1021397#M3305</link>
      <description>&lt;P&gt;Hi Yuri and thank you for your response.&lt;/P&gt;

&lt;P&gt;I missed the OpenCL section, apologies.&lt;/P&gt;

&lt;P&gt;Your guess is accurate, the code was developed against AMD APP SDK. My hope was that the Intel OpenCL SDK had&amp;nbsp;an extension for C++ template support similar to the AMDs. Your suggestion of getting rid of the template definitions is not practically feasible&amp;nbsp;in&amp;nbsp;my case because there are too many templates and the&amp;nbsp;kernel code size&amp;nbsp;is substantial.&amp;nbsp;(perhaps only with some compiler aided approach it could be done).&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2014 09:14:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-support-for-C-template/m-p/1021397#M3305</guid>
      <dc:creator>Aram_S_</dc:creator>
      <dc:date>2014-08-11T09:14:32Z</dc:date>
    </item>
    <item>
      <title>Aram &amp; Yuri,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-support-for-C-template/m-p/1021398#M3306</link>
      <description>&lt;P&gt;Aram &amp;amp; Yuri,&lt;/P&gt;

&lt;P&gt;I moved this thread to the OpenCL SDK forum. If you think this is inappropriate, please let me know.&lt;/P&gt;

&lt;P&gt;Regards&lt;BR /&gt;
	--&lt;BR /&gt;
	Taylor&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Aug 2014 17:00:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-support-for-C-template/m-p/1021398#M3306</guid>
      <dc:creator>TaylorIoTKidd</dc:creator>
      <dc:date>2014-08-12T17:00:35Z</dc:date>
    </item>
    <item>
      <title>Thank about that Taylor. If</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-support-for-C-template/m-p/1021399#M3307</link>
      <description>&lt;P&gt;Thank about that Taylor. If you can please&amp;nbsp;delete this thread too &lt;A href="https://software.intel.com/en-us/forums/topic/520206"&gt;https://software.intel.com/en-us/forums/topic/520206&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Aug 2014 18:53:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-support-for-C-template/m-p/1021399#M3307</guid>
      <dc:creator>Aram_S_</dc:creator>
      <dc:date>2014-08-12T18:53:13Z</dc:date>
    </item>
  </channel>
</rss>

