Unresolved External Symbols when using CUDA Driver API VS2012

后端 未结 2 1598
萌比男神i
萌比男神i 2021-01-28 23:22

I\'ve been trying to use the CUDA driver API to load a .ptx file and a function from it with this code:

CUdevice device;
cuDeviceGet(&device,0);
CUcontext ct         


        
2条回答
  •  闹比i
    闹比i (楼主)
    2021-01-28 23:47

    Those errors occur when you are not linking against cuda.lib.

提交回复
热议问题