<?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 On newer generation of Intel in OpenCL* for CPU</title>
    <link>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-related-question/m-p/1007991#M2973</link>
    <description>&lt;P&gt;On newer generation of Intel platforms the host (CPU) and device (GPU) share the same physical memory. So when you create an OpenCL buffer with CL_MEM_USE_HOST_PTR there is no copy involved (no CPU-&amp;gt;GPU transfer), so yes (1) above is true. You can create the buffer on the CPU modify it on the GPU and then consume the result on the CPU (though you have to follow OpenCL specification and use map/unmap when you access the buffer back on the CPU).&lt;/P&gt;

&lt;P&gt;Raghu&lt;/P&gt;</description>
    <pubDate>Tue, 06 May 2014 19:42:13 GMT</pubDate>
    <dc:creator>Raghupathi_M_Intel</dc:creator>
    <dc:date>2014-05-06T19:42:13Z</dc:date>
    <item>
      <title>OpenCL related question</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-related-question/m-p/1007989#M2971</link>
      <description>&lt;P&gt;Hello! I have restarted some of my experiments on the Intel Haswell processor and some of them stopped working, namely the ones related to examples meant to be executed for the GPU.&lt;/P&gt;

&lt;P&gt;My main question is if I use clCreateBuffer with the flag CL_MEM_USE_HOST_PTR what does that flag actually do:&lt;/P&gt;

&lt;P&gt;1. i create the array on the host, the gpu will use the same address as the address that was given to the array allocated on the host; if this thing happens then theoretically I will be able to compute something on the GPU and at the kernel termination point (also known as a synchronization point), the data written by the GPU should be inside the allocate region from the host?&lt;/P&gt;

&lt;P&gt;2. i create the vector on the CPU host, after which there is a secondary memory location allocated when invoked clCreateBuffer, even though I am using CL_MEM_USE_HOST_PTR, and the data is inherently copied between the host and the device memory allocations in memory.&lt;/P&gt;

&lt;P&gt;The reason i am asking is mainly because of the L3 cache which is shared between the CPU and the GPU. If both operate on the same address then in the L3 cache the data can be seen by both. Therefore a cooperation between the two may be possible&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 05 May 2014 21:59:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-related-question/m-p/1007989#M2971</guid>
      <dc:creator>Doru_Adrian_Thom_P_</dc:creator>
      <dc:date>2014-05-05T21:59:53Z</dc:date>
    </item>
    <item>
      <title>Hello Thom,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-related-question/m-p/1007990#M2972</link>
      <description>&lt;P&gt;Hello Thom,&lt;/P&gt;

&lt;P&gt;We have specific OpenCL forum named 'Intel® SDK for OpenCL* Applications' where you will be answered.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;BR /&gt;
	Thank you.&lt;BR /&gt;
	&amp;nbsp;--&lt;BR /&gt;
	&amp;nbsp;QIAOMIN.Q&lt;BR /&gt;
	&amp;nbsp;Intel Developer Support&lt;BR /&gt;
	&amp;nbsp;Please participate in our redesigned community support web site:&lt;/P&gt;

&lt;P&gt;User forums:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="http://software.intel.com/en-us/forums/"&gt;http://software.intel.com/en-us/forums/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 May 2014 02:34:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-related-question/m-p/1007990#M2972</guid>
      <dc:creator>QIAOMIN_Q_</dc:creator>
      <dc:date>2014-05-06T02:34:38Z</dc:date>
    </item>
    <item>
      <title>On newer generation of Intel</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-related-question/m-p/1007991#M2973</link>
      <description>&lt;P&gt;On newer generation of Intel platforms the host (CPU) and device (GPU) share the same physical memory. So when you create an OpenCL buffer with CL_MEM_USE_HOST_PTR there is no copy involved (no CPU-&amp;gt;GPU transfer), so yes (1) above is true. You can create the buffer on the CPU modify it on the GPU and then consume the result on the CPU (though you have to follow OpenCL specification and use map/unmap when you access the buffer back on the CPU).&lt;/P&gt;

&lt;P&gt;Raghu&lt;/P&gt;</description>
      <pubDate>Tue, 06 May 2014 19:42:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-related-question/m-p/1007991#M2973</guid>
      <dc:creator>Raghupathi_M_Intel</dc:creator>
      <dc:date>2014-05-06T19:42:13Z</dc:date>
    </item>
  </channel>
</rss>

