modify opencl validator