opencl supported minimization for ruby blog modified