Internal Operation Error from cublasDgelsBatched

I’m getting internal operation failed from a call to cublasDgelsBatched. I’ve been able to determine the error is coming from a call to geqrSolve_batch_kernel, but haven’t been able to get any further. Any suggestions on how to figure out what’s going on?

It’s helpful to provide reproducers. You can also try using the logger functionality to retrieve more information.

Here’s the code and logger output.

nvcc -o gelscu -lcublas -lcurand -lcudart
Code: (2.5 KB)

gelscu.output.txt (1.9 KB)