Tesla GPU not showing up for cudaDeviceCount/getDevice

I spent a few hours today debugging this — GPU programming is its own special form of hell. It turns out I had to disable ECC and reset the GPU:

nvidia-smi -i 1 -e 0
nvidia-smi -i 1 -r

Naturally, there was no indication of an ECC error having occurred, and just resetting the GPU’s doesn’t help matters.


why couldn’t john kerry be like this when he was running for president?

Sigh. The John Kerry post-2008 is just so much more relaxed and entertaining. I’d vote for him. (Admittedly, I voted for him in 2008 as well).

How to Beat Jet Lag: Forget About It (John Kerry)

I can’t say my past experiments with jet lag remedies have been very scientific. When I’m flying, I usually take an Ambien and listen to one of my own speeches on my iPod. I’m out in seconds. But it doesn’t always work, and sometimes you’ll have some funny moments from being overtired. There was an incident in New Orleans, at Mardi Gras, in 1997. But the video has been destroyed and I gave the beads back.”