Ask Your Question

Revision history [back]

The printf probably makes the kernel fail to compile and defaults to using the CPU. This happened to me when I tried adding a printf statement. There's a certain way printf's need to be added. Check this link out: https://www.khronos.org/registry/cl/extensions/arm/cl_arm_printf.txt

Again, check to make sure after adding printf that your code is ACTUALLY calling the kernel successfully.