- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using "block_advanced_motion_estimate_check_intel" kernel for motion estimation. As per OpenCL Extensions for AVME, some of the arg_value
can be set to NULL
if the corresponding parameter needs to be ignored. When setting arg_value
to NULL
, there is a memory leak and valgrind
shows the leak in the NULL
argument lines. Is there any way to pass NULL
and still get rid of memory leak? Is there any setting required so that this scenario is not treated as memory leak?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Saurabh, thank you for the report. We're looking into this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Saurabh, could you please provide a bit more information to help us reproduce your issue:
- Which argument are you setting to NULL?
- Which device are you running on, which OS are you using, and what is your driver version?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Saurabh,
As Ben mentioned, this issue is being looked into.
One point to note regarding the choice of using the OpenCL Extensions for AVME extension. I would encourage you to use the newer cl_intel_device_side_avc_motion_estimation extension instead. The latter is more flexible in that it allows you to write customized VME kernels for your specific use case with better performance and quality, and also provides more VME functionality. The are samples that you can leverage from https://software.intel.com/en-us/articles/intro-ds-vme and https://software.intel.com/en-us/articles/opencl-extension-tutorial-1 to get going.
In the case you really want the functionality already implemented in OpenCL Extensions for AVME , we can provide a sample doing the same but using cl_intel_device_side_avc_motion_estimation.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page