opencl minimization ffi interface enhanced