Added cuda profiler control methods

fixes #1678