First off, thanks for the great work. When I saw this, I was really excited to start using my GPU to mine. Unfortunately, you are using cutil, which is not an official part of the CUDA SDK, and not in the linux version. My compile fails with fatal error: cutil_inline.h: No such file or directory, and I confirmed that cutil_inline.h not anywhere in the SDK directory. This is confirmed by a moderator at
http://forums.nvidia.com/index.php?showtopic=192055 .
cutil is something used only for SDK samples to make code shorter and is not suitable for use in a real application. It is completely unsupported and not included with the CUDA toolkit
(don't use it, don't steal it from the SDK, just leave it alone and do error checking the right way) .
So my question is, how widespread is the usage of cutil in the code? If it's not too bad, I'll try to put together a patch, but this is the first time I've messed with CUDA. If it's not something I can handle, I'll happily donate a few bitcoins to someone (as soon as I can mine them, my cpu hasn't turned up anything yet) for helping me get this running.