@jaberg, I never used OpenCL code. It is Arnaud that worked on that.

But today, I just read that the Intel OpenCL implementation work well on Intel and AMD CPU and that the AMD implementation work well on AMD CPU, but not on Intel CPU. So I will also suggest as @inducer to change your OpenCL implementation.