fix hog on some CPU device running ocl