Be alert to run a long kernel if you only have one video card

The kernel may be aborted if it runs for 3-5s, as pointed out by seibert
in http://forums.nvidia.com/index.php?showtopic=97878
I am wondering if its possible to “freeze” all the GUI jobs on the video card so the program can take all the GPU.