moving codefrom GT740 to K40c


I met a problem that when I moved my project from gt740 to k40c, the result of the computation was different , and the most serious thing is that the result of k40c was wrong;

I’m using VS2010, the version of CUDA Toolkit is 7.5;

What and how can I do to solve this problem?

I’ll appreciate so much if someone can help me to solve this;


Probably you should start debugging.

Pretend that you never had a gt740, and this is the first time you are running a code that you have just written, but you’re getting the wrong result.

Hi txbob,

Thank you, after debugging, the code on K40c works right.