Forum Discussion
Altera_Forum
Honored Contributor
8 years agoLocal variables in Kernel
Hi! I was getting bad results in my kernel, so i decided to printf the local variables marked on the code in bold and blue. At every iteration of the 2nd loop the value from previous itera...
Altera_Forum
Honored Contributor
8 years agoYou might have a memory leak somewhere and you are running out of host or device memory. Pay careful attention to all OpenCL-related buffers, events, etc. and make sure everything that is not reused, is freed.