Hi, I’m solve an non-linear iterative problem using non-linear conjugate gradient, and in each iteration, some of the computations are done on GPUs, and the GPU functions I’m using are cuda fft real2complex/complex2real transforms and cublasDnrm2, cublasSnrm2 functions.
The problem I have is that I’ll get NaN result in some of the intermediate results at certain iteration then everything become NaN after that, and the iteration I started to get such NaN varies randomly,
Sometimes I can have the whole code run to completion without getting any NaNs.
So I was wondering if someone have ever had such problems.
I’m work on ubunto using Teslas1070, cuda2.0