<?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 I am submitting a bug. Even in OpenCL* for CPU</title>
    <link>https://community.intel.com/t5/OpenCL-for-CPU/Memory-leaks-in-clBuildProgram/m-p/964646#M2266</link>
    <description>&lt;P&gt;I am submitting a bug. Even though what you are doing is not a best practice, nevertheless, you are releasing the program object and this shouldn't result in any memory leaks. Thanks for attaching the test case.&lt;/P&gt;
&lt;P&gt;Raghu&lt;/P&gt;</description>
    <pubDate>Wed, 14 Aug 2013 18:09:45 GMT</pubDate>
    <dc:creator>Raghupathi_M_Intel</dc:creator>
    <dc:date>2013-08-14T18:09:45Z</dc:date>
    <item>
      <title>Memory leaks in clBuildProgram</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Memory-leaks-in-clBuildProgram/m-p/964644#M2264</link>
      <description>Hello,

Memory usage of attached program continue to increase.
It doesn't happen if a line that contains clBuildProgram call is removed.

I'm using Ubuntu 12.04.1, Intel SDK for OpenCL Applications 2013 (3.0.67279) and g++ 4.6.3.</description>
      <pubDate>Wed, 31 Jul 2013 08:48:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Memory-leaks-in-clBuildProgram/m-p/964644#M2264</guid>
      <dc:creator>Takaaki_H_</dc:creator>
      <dc:date>2013-07-31T08:48:53Z</dc:date>
    </item>
    <item>
      <title>Is there a reason why you are</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Memory-leaks-in-clBuildProgram/m-p/964645#M2265</link>
      <description>&lt;P&gt;Is there a reason why you are creating and releasing the program objects so many times? Though you are releasing the program everytime there may be some internal state/objects&amp;nbsp;that the runtime maintains that doesnt get released right away. Maybe that's causing the "leak". I'll investigate more but would like to hear why you are doing what you are doing.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Raghu&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2013 19:45:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Memory-leaks-in-clBuildProgram/m-p/964645#M2265</guid>
      <dc:creator>Raghupathi_M_Intel</dc:creator>
      <dc:date>2013-08-13T19:45:47Z</dc:date>
    </item>
    <item>
      <title>I am submitting a bug. Even</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Memory-leaks-in-clBuildProgram/m-p/964646#M2266</link>
      <description>&lt;P&gt;I am submitting a bug. Even though what you are doing is not a best practice, nevertheless, you are releasing the program object and this shouldn't result in any memory leaks. Thanks for attaching the test case.&lt;/P&gt;
&lt;P&gt;Raghu&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2013 18:09:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Memory-leaks-in-clBuildProgram/m-p/964646#M2266</guid>
      <dc:creator>Raghupathi_M_Intel</dc:creator>
      <dc:date>2013-08-14T18:09:45Z</dc:date>
    </item>
    <item>
      <title>I know that building kernel</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Memory-leaks-in-clBuildProgram/m-p/964647#M2267</link>
      <description>&lt;P&gt;I know that building kernel many times is not a best practice. I found this problem when I was testing my application. This test needs building CL kernel with various parameter combinations.&lt;BR /&gt;I hope this bug to be fixed.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Takaaki&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2013 20:20:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Memory-leaks-in-clBuildProgram/m-p/964647#M2267</guid>
      <dc:creator>Takaaki_H_</dc:creator>
      <dc:date>2013-08-14T20:20:35Z</dc:date>
    </item>
    <item>
      <title>We're also having problems</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Memory-leaks-in-clBuildProgram/m-p/964648#M2268</link>
      <description>&lt;P&gt;We're also having problems with the Intel OpenCL memory leak in clBuildProgram.&lt;/P&gt;

&lt;P&gt;We're using version Intel OpenCL CPU Runtime version 3.0.0.63463 on Windows 7 and finding that every cycle of clCreateProgram-&amp;gt;clBuildProgram-&amp;gt;clReleaseProgram leaks significant memory (exactly in the same way that the intel-cl-leak.cpp file attached at the start of this thread demonstrates). This does not occur when the call to clBuildProgram is removed.&lt;/P&gt;

&lt;P&gt;Has anyone found a solution to this or is a fix likely to be released?&lt;/P&gt;

&lt;P&gt;This is highly problematic to us as we generate our OpenCL program source on the fly before each kernel execution and this can happen to the order of 1,000s of times within a single process space, which means we hit 'out of memory' errors as a result of this bug.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Wed, 05 Mar 2014 10:50:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Memory-leaks-in-clBuildProgram/m-p/964648#M2268</guid>
      <dc:creator>Andy_R</dc:creator>
      <dc:date>2014-03-05T10:50:28Z</dc:date>
    </item>
    <item>
      <title>Hi Andy,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Memory-leaks-in-clBuildProgram/m-p/964649#M2269</link>
      <description>&lt;P&gt;Hi Andy,&lt;/P&gt;

&lt;P&gt;I don't have a date yet on the release with the fix. But will keep you posted. I will also escalate the issue.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
	Raghu&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Mar 2014 20:19:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Memory-leaks-in-clBuildProgram/m-p/964649#M2269</guid>
      <dc:creator>Raghupathi_M_Intel</dc:creator>
      <dc:date>2014-03-07T20:19:47Z</dc:date>
    </item>
  </channel>
</rss>

