Unresolved external symbols in beginners CUDA program

前端 未结 3 454
不知归路
不知归路 2020-12-05 05:31

I create a new Win32 Console App as an empty project I am running Windows 7 64bit with Visual Studio 2008 C++. I am trying to get the sample code from the bottom of this ar

3条回答
  •  离开以前
    2020-12-05 06:21

    I guess you are missing to link to the correct library. Make sure you have the CUDA library added under "Configuration Properties->Linker->Input". Refer this.

提交回复
热议问题