Dear Community Members!
I have a program, which makes some calculations with the help of the opencl kernel, which runs on the cpu. I also make these calculations without opencl and check for errors.
The problem is that I get errors from time to time, when I use online compilation of opencl kernel. I don't get errors, when I use offline compilation.
Could anyone, please, help me and explain, why it happens?
You can find files here:
https://github.com/NataAb/opencl_pr1
ioc64 -cmd=build -input=prog1.cl -device=cpu -ir=prog1.bc
for offline comilation.
Platform: Intel(R) OpenCL Vendor: Intel(R) Corporation Version: OpenCL 1.2 LINUX
CPU: Intel(R) Xeon(R) CPU E5-2609 v2 @ 2.50GHz
OS: Ubuntu 12.04.5 LTS