CUDA code output results problem


I’m trying to run a CUDA program that was built for gtx 285 on a gtx 770M.

I was able to run it, all the GPU iterations completed, the output files created but they do not print results properly. Either they print 0s or some value like -1.#IND.

Can someone please help here?