PDA

View Full Version : Any alteration in kernel CL_OUT_OF_HOST_MEMORY



luizdrumond
11-21-2012, 11:52 AM
Hi,

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,

fici_sg
12-19-2012, 04: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

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