View Full Version : Any alteration in kernel CL_OUT_OF_HOST_MEMORY

11-21-2012, 10:52 AM

When i run my code in CPU no errors appears, but when i put in a GTX560 NVIDIA GPU CL_OUT_OF_HOST_MEMORY began occur. A lot of times I don't know how i succeed to solve and the code run. But, any alteration in kernel code, a simple alteration how create a variable, CL_OUT_OF_HOST_MEMORY occurs.

Thanks for any help,

12-19-2012, 03:07 AM
It is evident that your kernel consumes too much private memory (too much temp variables for each work-item), try to reduce it and see what happen

04-14-2013, 03:44 PM
Thanks for your help.