A kernel which works perfectly well under Mali GPU, does not compile under Intel GPU.
ioc64 -cmd=build -input=TestKernel.cl -device=gpu -ir=TestKernel.bin hangs and then operation is killed.
If I specify -device=cpu, it works.
I also tried to load the kernel as source, instead as binary, but it hangs as well.
If I take out the return from C6, or some other particular lines of code, it compiles.It's driving me mad.
Thanks. The problem is not ioc64 but most probably the Intel gpu, that is because I tried to load the kernel without compile it to binary, so WithSource instead of WithBinary. I also tried gcc, icc, Intel sdk and amd sdk and the issue remains. The most strange thing is that, by commenting out some lines, it works.
Thanks for that, I do not have a workaround, I'm just saying that if I comment random lines, it compiles, but then the kernel is useless.
I'm waiting until Intel fix the issue, please fix it as soon as possible, as I am stuck. It must be the i915 driver.