<?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 Yes this will also scale up, in OpenCL* for CPU</title>
    <link>https://community.intel.com/t5/OpenCL-for-CPU/Maximum-global-memory-for-HD5500/m-p/1149196#M6052</link>
    <description>&lt;P&gt;Yes this will also scale up, to a current maximum of ~4GB.&lt;/P&gt;&lt;P&gt;There is a separate thing here, Surface State accesses has a hard limit of 4GB, hence we cannot have allocations larger then this size as default.&lt;/P&gt;</description>
    <pubDate>Mon, 26 Aug 2019 07:23:23 GMT</pubDate>
    <dc:creator>Michal_M_Intel</dc:creator>
    <dc:date>2019-08-26T07:23:23Z</dc:date>
    <item>
      <title>Maximum global memory for HD5500</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Maximum-global-memory-for-HD5500/m-p/1149192#M6048</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to evaluate some larger workloads on my Intel HD5500 GPU. I was under the impression that the GPU shared the host memory, but I am seeing that the max global memory is reported to be quite a bit smaller than my host memory. That is, when I query CL_DEVICE_GLOBAL_MEM_SIZE, I see these values for my CPU and GPU:&lt;BR /&gt;&lt;BR /&gt;Intel(R) HD Graphics 5500&lt;BR /&gt;max global memory size: 8530714624&lt;/P&gt;&lt;P&gt;Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz&lt;BR /&gt;max global memory size: 21347758080&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm running Windows 10 with driver version: 20.19.15.4835&lt;/P&gt;&lt;P&gt;Is it possible at all to allow the GPU to use a little more of the host memory? We're right on the cusp of being able to process our dataset on the GPU.&lt;BR /&gt;&lt;BR /&gt;I'm using&amp;nbsp;CL_MEM_USE_HOST_PTR and the clCreateBuffer call is failing with -5 when given an aligned host pointer to a large region of memory.&lt;BR /&gt;&lt;BR /&gt;Many thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2019 18:50:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Maximum-global-memory-for-HD5500/m-p/1149192#M6048</guid>
      <dc:creator>Sorensen__Tyler</dc:creator>
      <dc:date>2019-08-22T18:50:35Z</dc:date>
    </item>
    <item>
      <title>Hello,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Maximum-global-memory-for-HD5500/m-p/1149193#M6049</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;On Windows Operating System we are limited by residency model to only have 1/2 of memory resident at a given time for a process.&lt;/P&gt;&lt;P&gt;It means that single Kernel cannot utilize more then that.&lt;/P&gt;&lt;P&gt;Driver also multiply that by 0.8 to make space for internal allocations.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On Linux there are no limitations like that as there is different memory residency model there.&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should see 0.8 * memory size there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Driver doesn't count how much was allocated at given point of time, so you have high chance to allocate more then global memory size.&lt;/P&gt;&lt;P&gt;Driver will also try to submit your fat Kernel , if it fail you will get error during enqueue/flush/finish calls.&lt;/P&gt;&lt;P&gt;If you use this memory in multiple kernels , driver will spit batch buffers to multiple chunks, each containing a pack limited by resource size.&lt;/P&gt;&lt;P&gt;Driver also has special mode for users which play around memory limits.&lt;/P&gt;&lt;P&gt;You may browse Neo sources for "isMemoryBudgetExhausted". This will start to trigger implicit flushes to minimize the amount of expensive memory residency operations.&lt;/P&gt;&lt;P&gt;Please let me know if you have any further questions.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2019 05:38:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Maximum-global-memory-for-HD5500/m-p/1149193#M6049</guid>
      <dc:creator>Michal_M_Intel</dc:creator>
      <dc:date>2019-08-23T05:38:23Z</dc:date>
    </item>
    <item>
      <title>"I'm using CL_MEM_USE_HOST</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Maximum-global-memory-for-HD5500/m-p/1149194#M6050</link>
      <description>&lt;P&gt;"I'm using&amp;nbsp;CL_MEM_USE_HOST_PTR and the clCreateBuffer call is failing with -5 when given an aligned host pointer to a large region of memory."&lt;/P&gt;&lt;P&gt;This possibly means that driver creates a copy here.&lt;/P&gt;&lt;P&gt;Copy is created when pointer or size are not aligned to cacheline size.&lt;/P&gt;&lt;P&gt;Can you try to align those to 64 bytes ?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2019 05:43:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Maximum-global-memory-for-HD5500/m-p/1149194#M6050</guid>
      <dc:creator>Michal_M_Intel</dc:creator>
      <dc:date>2019-08-23T05:43:30Z</dc:date>
    </item>
    <item>
      <title>Many thanks Michal! </title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Maximum-global-memory-for-HD5500/m-p/1149195#M6051</link>
      <description>&lt;P&gt;Many thanks Michal!&amp;nbsp;&lt;/P&gt;&lt;P&gt;One last related question: I am seeing that the max memory allocation size is ~2.1 GB on my windows machine. Will that also go up if I switch to Linux?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2019 19:30:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Maximum-global-memory-for-HD5500/m-p/1149195#M6051</guid>
      <dc:creator>Sorensen__Tyler</dc:creator>
      <dc:date>2019-08-23T19:30:46Z</dc:date>
    </item>
    <item>
      <title>Yes this will also scale up,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Maximum-global-memory-for-HD5500/m-p/1149196#M6052</link>
      <description>&lt;P&gt;Yes this will also scale up, to a current maximum of ~4GB.&lt;/P&gt;&lt;P&gt;There is a separate thing here, Surface State accesses has a hard limit of 4GB, hence we cannot have allocations larger then this size as default.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2019 07:23:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Maximum-global-memory-for-HD5500/m-p/1149196#M6052</guid>
      <dc:creator>Michal_M_Intel</dc:creator>
      <dc:date>2019-08-26T07:23:23Z</dc:date>
    </item>
    <item>
      <title>I can confirm that I booted</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Maximum-global-memory-for-HD5500/m-p/1149197#M6053</link>
      <description>&lt;P&gt;I can confirm that I booted up Linux and now I can access more memory and allocate chunks of 4 GB. This allowed us to scale up pretty significantly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks very much for the help Michal&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2019 16:56:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Maximum-global-memory-for-HD5500/m-p/1149197#M6053</guid>
      <dc:creator>Sorensen__Tyler</dc:creator>
      <dc:date>2019-08-27T16:56:52Z</dc:date>
    </item>
  </channel>
</rss>

