fix documentation bug 2432

Extra default parameter makes it clear what to add if no flag is used.
Did the same for the CUDA equivalent even if it is a mocking parameter there.