I have very strange and serious problems with OpenCL SDK 2012 compiler (Windows 7 32-bit platform).At earlier step of development everything was fine. But ones when i added new kenel to my openCL program source i've got a lot of odd errors. For example some very simple kernels return completely wrong results, or fatal error that crashes program can occur, even if i do not use new kernel, and even i do not create it with clCreateKernel.When I'm switching off autovectorization by usingvec_type_hint in one or more kernels (not necessarily new one)in new source code everything is fine again. Also I can remove some old kernels from the source and new kernel with all remainded work correctly. Complete OpenCL program works fine in debug mode (-g compiler option) too. By the way everything ok on amd and nvidia platforms in both windows and linux.It looks like there is some kind of limitation of vectorized kernels numberin OpenCL program but i don't believe that. Maybe when there is too much such kernels compiler behaves unexpectedly or something similar.Did anyone face such problem or have any idea how to solve it?
OpenCL compiler problems