I\'m using Visual Studio 2010 and a GTX480 with compute capability 2.0.
I have tried setting sm to 2.0, but when I attempt to use printf() in a kernel, I get:
If you're getting that error, it probably means that your GPU does not have Compute capability 2.x or higher. This thread goes into more detail on what your options are for printing inside a kernel function.