opening cuda-gdb with emacs

I have followed the documentation :

I have added the three lines below:

(setenv "PATH" (concat (getenv "PATH")":/usr/local/cuda-10.0/bin/cuda-gdb"))
setq exec-path (append exec-path '("/usr/local/cuda-10.0/bin/cuda-gdb")))
setq gud-gdb-command-name "cuda-gdb --annotate=3")
  1. is my setting all complete? The above is the only thing I did to emacs.
  2. how do I open cuda-gdb s.t. it uses emacs? I read that, with emacs open, `M-x gud-gdb’ can be used, but it opens the regular gdb , not cuda-gdb.