The Khronos Group - a non-profit industry consortium to develop, publish and promote open standard, royalty-free media authoring and acceleration standards for desktop and handheld devices, combined with conformance qualification programs for platform and device interoperability.

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

when i execute this code for benchmark purposes, i need to execute it for many times sequentially to get significant running times.
the problem is that, after a few repetitions that works correctly, i get a CL_OUT_OF_HOST_MEMORY error
while executing cl::Buffer result_zb = cl::Buffer(context, CL_MEM_WRITE_ONLY, res_zb->Id(), &ciErrNum);

i think this is because memory coming from result_zb is not freed coorectly, so i have a memory leak and my card's RAM
fills up.