fix some mismatch on cpu device running OCL