I have a large 'kernel' that I have translated from C# into "OpenCL C" language.
When I run it, I got an "AccessViolationException".
Because I'm unable to debug the "OpenCL kernel" I have copy this code in a "kernel.c" file (remove the __global etc..., do a minor set of changes) and execute it.
The "C" (Win32) version work correctly... but the "OpenCL" kernel crash the application.
So I suppose that there is a problem in the OpenCL driver and not in my code !!
If you are interested, I can send you an ".exe" file and the "Kernel code" to reproduce the problem, you can contact me at : firstname.lastname@example.org
NB: I work on the CPU only (2 cores), I read datas from the same location but write it at different position.