Howard
Howard

Reputation: 99

cublasDdot CUBLAS_STATUS_INTERNAL_ERROR

I implemented a precondition conjugate gradient method to resolve a Ax = B problem by using CUBLAS lib and CUDA.

My code works fine when it deals with the 40000x40000 implicit matrix A.

However, when I increase the size to 130000x130000, it gives CUBLAS_STATUS_INTERNAL_ERROR from cublasDdot method.

Does anyone know why this happens and how to fix it?

Upvotes: 2

Views: 2115

Answers (1)

Howard
Howard

Reputation: 99

I solved the problem. Actually, it is not caused by the CUBLAS API. When I give larger size matrix to the solver, it takes longer time to solve it. However, the time is over the GPU watchdog limit, then the solver is terminated by the watchdog process. So, we bought a new GPU as our dedicated one and solved the problem. @talonmies thanks for your advises!

Upvotes: 3

Related Questions