I have a kernel that runs just fine on the GPU, but when I run it on the CPU all the results become NaN values. I am not using any extension and I have tried using the AMD as well as the Intel SDK for running it on the CPU. Also I don't get any error message. Other kernels work fine on both, GPU and CPU.
Is there any OpenCL 1.1 command that could behave different on CPU and GPU?
I first suspected the native_xxx commands, but after changing those to the non native versions it still gave NaN values. Should the native_xxx commands work on CPUs in general?
I have tried three different CPUs (some Intel Core 2 Duo and two different Core i7).