InteractiveMind
asked on
Custom Build Step in Visual Studio?
Hello,
after months of procrastinating, I've finally installed CUDA and have successfully compiled a simple CUDA application in Visual Studio 2008. However, as I don't have a CUDA-enabled GPU on this machine, I need to run the code using an emulator.
According to here:
http://llpanorama.wordpress.com/2008/05/21/my-first-cuda-program/
I merely need to "add the following option to the Custom Build Step command line: -deviceemu".
However, as a newbie to C (and particularly VS) I have no idea how to do this. Can someone guide me please?
I know where the Cuda.Rules file is (which I've added to the project already) if that helps...
Thank you!
after months of procrastinating, I've finally installed CUDA and have successfully compiled a simple CUDA application in Visual Studio 2008. However, as I don't have a CUDA-enabled GPU on this machine, I need to run the code using an emulator.
According to here:
http://llpanorama.wordpress.com/2008/05/21/my-first-cuda-program/
I merely need to "add the following option to the Custom Build Step command line: -deviceemu".
However, as a newbie to C (and particularly VS) I have no idea how to do this. Can someone guide me please?
I know where the Cuda.Rules file is (which I've added to the project already) if that helps...
Thank you!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Unfortunately though, I'm having other problems (hopefully unrelated) whilst executing the code, for which I shall post a new thread.