Big problem resolved: don't use _image variable error in the kernel, this will cause freezing at clBuildProgram