AnsweredAssumed Answered

Simple OpenCL program fails eventually due to memory leak

Question asked by Andy Purcell on Apr 30, 2015

I am using imx6 quad, running Windows Embedded Compact 7 (aka WEC7, Windows CE 7, CE7). The BSP came from Adeneo.

I have found what I believe is a memory leak in the OpenCL software stack. A very simple Vector_Add program runs in a loop ~8000 times and fails with CL error -6.

This file is attached. The .cl file is also attached.

If anyone is an expert in OpenCL and can spot a fault with the Vector_Add program, let me know.

Otherwise, if the problem looks to be in the OpenCL software stack, what is the support model?
How do I get this fixed?

 

andyp

Original Attachment has been moved to: vector_add_kernel.cl.txt.zip

Original Attachment has been moved to: Vector_Add1.cpp.txt.zip

Outcomes