<?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 Does Intel HD graphics 530  support SYCL or SPIR to pass classes to kernel?   in OpenCL* for CPU</title>
    <link>https://community.intel.com/t5/OpenCL-for-CPU/Does-Intel-HD-graphics-530-support-SYCL-or-SPIR-to-pass-classes/m-p/1123002#M5548</link>
    <description>&lt;TABLE style="margin-top: 0px; margin-bottom: 0px; border: 0px; font-size: 13px; border-collapse: collapse; color: rgb(36, 39, 41); font-family: Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif;"&gt;
	&lt;TBODY style="border: 0px;"&gt;
		&lt;TR style="border: 0px;"&gt;
			&lt;TD class="votecell" style="padding: 0px 15px 0px 0px; border-width: 0px; border-style: initial; border-top-color: initial; border-right-color: initial; border-left-color: initial; border-image: initial;"&gt;
				&lt;DIV class="vote" style="margin: 0px; padding: 0px; border: 0px; text-align: center; min-width: 46px;"&gt;&lt;SPAN class="vote-count-post " itemprop="upvoteCount" style="margin: 8px 0px; padding: 0px; border: 0px; font-size: 20px; display: block; color: rgb(106, 115, 124);"&gt;&lt;A class="vote-down-off" style="margin-right: auto; margin-bottom: 10px; margin-left: auto; border: 0px; font-size: 1px; color: rgb(0, 119, 204); cursor: pointer; background-image: url(&amp;quot;img/sprites.svg?v=8c1c8cba242e&amp;quot;), none; background-size: initial; background-repeat: no-repeat; overflow: hidden; text-indent: -9999em; width: 40px; height: 30px; background-position: 0px -220px; display: inline !important;" title="This question does not show any research effort; it is unclear or not useful"&gt;own vote&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;
					&lt;A class="star-off" href="http://stackoverflow.com/questions/40932067/passing-class-to-a-kernel-in-intel-opencl#" style="margin-right: auto; margin-bottom: 2px; margin-left: auto; border: 0px; font-size: 1px; color: rgb(0, 119, 204); cursor: pointer; background-image: url(&amp;quot;img/sprites.svg?v=8c1c8cba242e&amp;quot;), none; background-size: initial; background-repeat: no-repeat; overflow: hidden; display: block; text-indent: -9999em; width: 40px; height: 30px; background-position: 0px -120px;"&gt;favor&lt;/A&gt;&lt;/DIV&gt;
			&lt;/TD&gt;
			&lt;TD class="postcell" style="padding: 0px; border-width: 0px; border-style: initial; border-top-color: initial; border-right-color: initial; border-left-color: initial; border-image: initial;"&gt;
				&lt;DIV style="margin: 0px; padding: 0px; border: 0px;"&gt;
					&lt;DIV class="post-text" itemprop="text" style="margin: 0px 0px 5px; padding: 0px; border: 0px; font-size: 15px; width: 660px; word-wrap: break-word; line-height: 1.3;"&gt;
						&lt;P style="margin-bottom: 1em; border: 0px; clear: both;"&gt;I have been working on an c/c++ OpenCL solution for the past few weeks now. For my solution, I need to pass a class from my CPU(Host) to GPU(Device). When I try to pass the class as an argument it gives an error "Unknown Type-Identifier Class" in INTEL architecture. My doubt whether OpenCL on Intel Platform does it allow us to pass a class to kernel.&lt;/P&gt;

						&lt;P style="margin-bottom: 1em; border: 0px; clear: both;"&gt;&amp;nbsp;I am working on Microsoft visual studio 2015. My doubt is&lt;/P&gt;

						&lt;P style="margin-bottom: 1em; border: 0px; clear: both;"&gt;1. How can a pass a class to my Kernel.&lt;/P&gt;

						&lt;P style="margin-bottom: 1em; border: 0px; clear: both;"&gt;2. Can I use SYCL/ Does Intel HD 530 support SYCL ?&lt;/P&gt;

						&lt;P style="margin-bottom: 1em; border: 0px; clear: both;"&gt;3. I have also seen SPIR, can I use SPIR to pass class to the kernel&lt;/P&gt;

						&lt;P style="margin-bottom: 1em; border: 0px; clear: both;"&gt;&amp;nbsp; &amp;nbsp; i) My plaform just supports openCL2.0(Its Intel i5 6600, 6th Gen)&lt;/P&gt;

						&lt;P style="margin-bottom: 1em; border: 0px; clear: both;"&gt;&amp;nbsp; &amp;nbsp; ii) If it supports SPIR, please provide any links&lt;/P&gt;

						&lt;P style="margin-bottom: 1em; border: 0px; clear: both;"&gt;&amp;nbsp; &amp;nbsp; iii) In some resource it says SPIR is only supported on CPU ?&lt;/P&gt;

						&lt;P style="margin-bottom: 1em; border: 0px; clear: both;"&gt;However, with respect to OpenCL I am not able to find any references and No examples related to this query. I would be really thankful to any help with regards to this issue. I have posted the same question on stack overflow website also but to no avail. If someone would be kind enough to help me this query.&lt;/P&gt;
					&lt;/DIV&gt;
				&lt;/DIV&gt;
			&lt;/TD&gt;
		&lt;/TR&gt;
	&lt;/TBODY&gt;
&lt;/TABLE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 27 Dec 2016 13:07:56 GMT</pubDate>
    <dc:creator>vamsi_k_</dc:creator>
    <dc:date>2016-12-27T13:07:56Z</dc:date>
    <item>
      <title>Does Intel HD graphics 530  support SYCL or SPIR to pass classes to kernel?</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Does-Intel-HD-graphics-530-support-SYCL-or-SPIR-to-pass-classes/m-p/1123002#M5548</link>
      <description>&lt;TABLE style="margin-top: 0px; margin-bottom: 0px; border: 0px; font-size: 13px; border-collapse: collapse; color: rgb(36, 39, 41); font-family: Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif;"&gt;
	&lt;TBODY style="border: 0px;"&gt;
		&lt;TR style="border: 0px;"&gt;
			&lt;TD class="votecell" style="padding: 0px 15px 0px 0px; border-width: 0px; border-style: initial; border-top-color: initial; border-right-color: initial; border-left-color: initial; border-image: initial;"&gt;
				&lt;DIV class="vote" style="margin: 0px; padding: 0px; border: 0px; text-align: center; min-width: 46px;"&gt;&lt;SPAN class="vote-count-post " itemprop="upvoteCount" style="margin: 8px 0px; padding: 0px; border: 0px; font-size: 20px; display: block; color: rgb(106, 115, 124);"&gt;&lt;A class="vote-down-off" style="margin-right: auto; margin-bottom: 10px; margin-left: auto; border: 0px; font-size: 1px; color: rgb(0, 119, 204); cursor: pointer; background-image: url(&amp;quot;img/sprites.svg?v=8c1c8cba242e&amp;quot;), none; background-size: initial; background-repeat: no-repeat; overflow: hidden; text-indent: -9999em; width: 40px; height: 30px; background-position: 0px -220px; display: inline !important;" title="This question does not show any research effort; it is unclear or not useful"&gt;own vote&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;
					&lt;A class="star-off" href="http://stackoverflow.com/questions/40932067/passing-class-to-a-kernel-in-intel-opencl#" style="margin-right: auto; margin-bottom: 2px; margin-left: auto; border: 0px; font-size: 1px; color: rgb(0, 119, 204); cursor: pointer; background-image: url(&amp;quot;img/sprites.svg?v=8c1c8cba242e&amp;quot;), none; background-size: initial; background-repeat: no-repeat; overflow: hidden; display: block; text-indent: -9999em; width: 40px; height: 30px; background-position: 0px -120px;"&gt;favor&lt;/A&gt;&lt;/DIV&gt;
			&lt;/TD&gt;
			&lt;TD class="postcell" style="padding: 0px; border-width: 0px; border-style: initial; border-top-color: initial; border-right-color: initial; border-left-color: initial; border-image: initial;"&gt;
				&lt;DIV style="margin: 0px; padding: 0px; border: 0px;"&gt;
					&lt;DIV class="post-text" itemprop="text" style="margin: 0px 0px 5px; padding: 0px; border: 0px; font-size: 15px; width: 660px; word-wrap: break-word; line-height: 1.3;"&gt;
						&lt;P style="margin-bottom: 1em; border: 0px; clear: both;"&gt;I have been working on an c/c++ OpenCL solution for the past few weeks now. For my solution, I need to pass a class from my CPU(Host) to GPU(Device). When I try to pass the class as an argument it gives an error "Unknown Type-Identifier Class" in INTEL architecture. My doubt whether OpenCL on Intel Platform does it allow us to pass a class to kernel.&lt;/P&gt;

						&lt;P style="margin-bottom: 1em; border: 0px; clear: both;"&gt;&amp;nbsp;I am working on Microsoft visual studio 2015. My doubt is&lt;/P&gt;

						&lt;P style="margin-bottom: 1em; border: 0px; clear: both;"&gt;1. How can a pass a class to my Kernel.&lt;/P&gt;

						&lt;P style="margin-bottom: 1em; border: 0px; clear: both;"&gt;2. Can I use SYCL/ Does Intel HD 530 support SYCL ?&lt;/P&gt;

						&lt;P style="margin-bottom: 1em; border: 0px; clear: both;"&gt;3. I have also seen SPIR, can I use SPIR to pass class to the kernel&lt;/P&gt;

						&lt;P style="margin-bottom: 1em; border: 0px; clear: both;"&gt;&amp;nbsp; &amp;nbsp; i) My plaform just supports openCL2.0(Its Intel i5 6600, 6th Gen)&lt;/P&gt;

						&lt;P style="margin-bottom: 1em; border: 0px; clear: both;"&gt;&amp;nbsp; &amp;nbsp; ii) If it supports SPIR, please provide any links&lt;/P&gt;

						&lt;P style="margin-bottom: 1em; border: 0px; clear: both;"&gt;&amp;nbsp; &amp;nbsp; iii) In some resource it says SPIR is only supported on CPU ?&lt;/P&gt;

						&lt;P style="margin-bottom: 1em; border: 0px; clear: both;"&gt;However, with respect to OpenCL I am not able to find any references and No examples related to this query. I would be really thankful to any help with regards to this issue. I have posted the same question on stack overflow website also but to no avail. If someone would be kind enough to help me this query.&lt;/P&gt;
					&lt;/DIV&gt;
				&lt;/DIV&gt;
			&lt;/TD&gt;
		&lt;/TR&gt;
	&lt;/TBODY&gt;
&lt;/TABLE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Dec 2016 13:07:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Does-Intel-HD-graphics-530-support-SYCL-or-SPIR-to-pass-classes/m-p/1123002#M5548</guid>
      <dc:creator>vamsi_k_</dc:creator>
      <dc:date>2016-12-27T13:07:56Z</dc:date>
    </item>
    <item>
      <title>Today our kernel compilers</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Does-Intel-HD-graphics-530-support-SYCL-or-SPIR-to-pass-classes/m-p/1123003#M5549</link>
      <description>&lt;P&gt;Today our kernel compilers don't natively support C++ kernels. &amp;nbsp;However, because we do support SPIR and SPIR-V this does leave the option that a 3rd party tool could compile another kernel language (including one with C++ features) to these intermediate languages. &amp;nbsp;This isn't exactly the same as native kernel C++ since things like debugging and performance analysis are more indirect but may be at least part of what you are looking for. &amp;nbsp;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;More info on Intel SPIR/SPIR-V:&lt;BR /&gt;
	&lt;A href="https://software.intel.com/en-us/articles/using-spir-for-fun-and-profit-with-intel-opencl-code-builder" target="_blank"&gt;https://software.intel.com/en-us/articles/using-spir-for-fun-and-profit-with-intel-opencl-code-builder&lt;/A&gt;&lt;BR /&gt;
	&lt;A href="https://software.intel.com/en-us/articles/spir-v-is-a-better-spir-with-intel-opencl-code-builder" target="_blank"&gt;https://software.intel.com/en-us/articles/spir-v-is-a-better-spir-with-intel-opencl-code-builder&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;These may be of interest for C++: &amp;nbsp;&lt;BR /&gt;
	&lt;A href="https://github.com/KhronosGroup/libclcxx" target="_blank"&gt;https://github.com/KhronosGroup/libclcxx&lt;/A&gt;&lt;BR /&gt;
	&lt;A href="https://github.com/KhronosGroup/SPIR/tree/spirv-1.1" target="_blank"&gt;https://github.com/KhronosGroup/SPIR/tree/spirv-1.1&lt;/A&gt;.&lt;/P&gt;

&lt;P&gt;And for SYCL:&lt;BR /&gt;
	&lt;A href="https://www.codeplay.com/portal/earlyaccesstothesyclopenstandardforcacceleration" target="_blank"&gt;https://www.codeplay.com/portal/earlyaccesstothesyclopenstandardforcacceleration&lt;/A&gt;&lt;BR /&gt;
	&lt;A href="https://www.codeplay.com/portal/introduction-to-sycl" target="_blank"&gt;https://www.codeplay.com/portal/introduction-to-sycl&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Just to set expectations, we're very interested in these new directions but our current scope is the components enabling SPIR/SPIR-V and below in the stack. &amp;nbsp; You will get more details, issue support, etc. for 3rd party tools compiling to SPIR/SPIR-V by working with those projects directly.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2016 19:35:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Does-Intel-HD-graphics-530-support-SYCL-or-SPIR-to-pass-classes/m-p/1123003#M5549</guid>
      <dc:creator>Jeffrey_M_Intel1</dc:creator>
      <dc:date>2016-12-28T19:35:04Z</dc:date>
    </item>
  </channel>
</rss>

