fixed ocl_integral