Visual Studio 2013 + CUDA DLL Project - Build always generates a vc120.pdb file

Hi,

There seems to be some bug/feature, that when issuing a build command from within Visual Studio and the CUDA project is a DLL, there seems to be always generated a “vc120.pdb” file.
After investigating this further, I’ve noticed that when I do build & look @ “output window”, the NVCC.exe command line always gets a /Zi flag argument, regardless of the project settings in Visual Studio.
Needless to say, every debug setting is set to OFF, and maximum optimization, and yet the NVCC keep gets invoked with a /Zi flag inside.

I was able to produce this bug with:

  • Windows 7
  • CUDA Toolkit v8.0
  • Visual Studio Pro 2013

So my questions are:

  1. Is it a “known issue” ?
  2. Is there any workaround for the problem (upgrade Visual Studio / CUDA Toolkit ?)

Would appreciate any help on the matter.

Regards,
Idan