Quantcast
Channel: Intel® Software - OpenCL*
Viewing all articles
Browse latest Browse all 1182

Memory Leak in Windows CPU OCL 1.2/2.0, not so much GPU 1.2

$
0
0

Hello world,

I'm developing an asynchronous Windows application and have noticed a strange loss of system memory. My application internally tracks memory usage, and when not using OpenCL at all it matches what is reported by the system through taskmgr. What's curious is the memory leak is more or less depending on what OpenCL version and device I use. Summarizing what taskmgr reports:

No OpenCL (vanilla C code) - ~8MB
OpenCL 2.0 Experimental CPU ~ 1.2 GB
OpenCL 1.2 CPU ~ 350 MB
OpenCL 1.2 GPU (HD 4600) ~ 40 MB

I've checked that events are being released in a timely manner (props to INDE), and seeing this much variability in the leak across OpenCL implementations and device types makes me think my application isn't solely behind the leak.

Any suggestions on what might be causing it aside from a bug in the OpenCL implementation?
 


Viewing all articles
Browse latest Browse all 1182

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>