How to kill all processes using a given GPU?

I use the CUDA toolkit to perform some computations on my Nvidia GPUs on Windows 7 SP1 x64 Ultimate. How to kill all processes that use a given GPU? (killing all processes at once)