I have a VS 2010 project where I have a .cu file that adds two vectors. It is the one from cuda sdk 5.5 samples. Also, I have replaced the main function with a mexfunction and made the correct changes in order to run the function via matlab and works fine. Then I tried to run the CUDA Debugging but did not start. It returns the following error:
%1 is not a valid win32 application
Any ideas what is wrong?
Thank you in advance.
PS: Win 7 64x, VS 2010, CUDA SDK 5.5 64x, Nsight 3.1 64x, the project in visual studio is 64x build.