Unconstrained optimization on OpenCL