I create a new Visual studio 2005 c++ project by my self. and copy the following files: matrixMul_kernel.cu, matrixMul.cu, matrixMul.h, matrixMul_gold.cpp from the example project of matrixMul into my new project.
I installed the cuda.rules offered by JaredHoberock. Then I try to run my project.
But I got the following error. please help me thanks
Error 1 error LNK2005: ___device_stub__Z9matrixMulPfS_S_ii already defined in matrixMul_kernel.obj matrixMul.obj