My program is launching a CL_OUT_OF_RESOURCES after enqueue a kernel. I'm pretty sure that is not a memory or registers issue. Basically because I tried with a very simple kernel with very few registers and I get the same error. In addition the memory arrays I am allocating in GPU are small (up to 200 cl_float2).
Is there some way to query which is exactly the reason why I get out of resources?