Test for CUDA version of the L-BFGS-B solver.