Update CL example to new form of to_device()