000007FEF96140B0 BA 01 00 00 00 mov edx,1 000007FEF96140B5 33 C9 xor ecx,ecx 000007FEF96140B7 FF 15 AB 6F 02 00 call qword ptr [7FEF963B068h] (call to kernel32!Sleep) 000007FEF96140BD 33 C0 xor eax,eax 000007FEF96140BF F0 0F B1 BB 8C 00 00 00 lock cmpxchg dword ptr [rbx+8Ch],edi 000007FEF96140C7 83 F8 05 cmp eax,5 000007FEF96140CA 75 E4 jne 000007FEF96140B0
The file you attached contains ~21,000 lines. Not easy to debug at all.
Can you run preprocessor and generate a clean file that contains only the OpenCL kernels?
Also, to be sure that I understand the problem, is the error during building the kernel? or during execution?
In case the problem is during build, you might try using the ioc tool provided with the Intel OpenCL SDK to compile the kernel offline and assure that there is a problem during the compilation.
I tried running ioc on the file you sent us, and it seems that it contains syntaxt errors and compilation is failling (no crash though).
You can read more about the ioc in this link:
I will be waiting for more input from you before I investigate this issue further.