The old ProfileMode memory profile is not removed.

We print a message to use the new profiler in that case.
This repair ProfileMode
Print a deprecation warning when we use the old ProfileMode
Raise an error in ProfileMode if CUDA is enable and we CUDA_LAUNCH_BLOCKING isn't set to 1.