any way to kill a gpu process ?

After I start running the cuda code, it always take a long time to get back even if I use kill -9, Ctrl-C, Ctrl-Z, etc.
Does anybody know how to kill it quickly?

if you’re using 185.18.xx it should die fairly quickly, especially on a dedicated compute GPU