1

I have tried to setup my visual studio environment for programming with cuda,but stil I m getting the errors as cudaMemcpy is unable to resolve..

If any of you plz help me in setting up the environment.I am coding in c++.

Thanks in advance.

ATG
  • 732
  • 3
  • 11
  • 21
  • I was going to suggest this is a duplicate of http://stackoverflow.com/questions/2046228/how-do-i-start-a-new-cuda-project-in-visual-studio-2008, that question is asking fro VS2008 and not VS2005. In reality the process is the same, it's only in VS2010 that the build flow has changed substantially. – Tom Apr 17 '12 at 12:54

1 Answers1

1

Check out this answer for instructions for Visual Studio 2005 and 2008 (for VS2010, see this answer).

In particular, see the bit about adding the CUDA runtime library to your link dependencies.

Community
  • 1
  • 1
Tom
  • 20,852
  • 4
  • 42
  • 54