This causes me a severe headaches for a couple of weeks. Something is happening now, which causes this internal exception (most likely tbb. I beg you to assist me in finding the problem. It may have something to do with images or printf, although I commented out all printf-s. I use both image3d_t and image2d_t as kernel parameters. My 3-4 .cl files are in total approximately 7500-8000 lines of code - only one kernel is executed, other files are full of utility functions. I need to have Intel OpenCL to keep me working.
NVIDIA's implementation compiles my code in 220 seconds. I cannot use their platform for this project anymore, at least not every day.
Surprisingly, my kernel compiles with NVIDIA's implementation and runs normally and outputs what is expected.
After the exception, the callstack shows (a bit meaningless, but anyway):
OclCpuBackEnd.dll!opencl_printf() + 0x248a bytes
I don't have any printf()-s anywhere in the code.