CUDA_DGESV crashes for more than 15k size

General CULA Dense (LAPACK & BLAS) support and troubleshooting. Use this forum if you are having a general problem or have encountered a bug.

CUDA_DGESV crashes for more than 15k size

Postby bhamarsd » Fri Jan 20, 2012 2:46 pm

I have been using the CULA_DGESV routine for quite a while now. It runs very fast and accurately for 'A' size less than 15,200 (to be exact). Beyond this limit, it either gives the 'Data Error' or returns the erroneous results. Is there a bug or it's just the limit this CULA version can handle ?

I'm using CULA R11.

Posts: 1
Joined: Thu Dec 22, 2011 4:13 pm

Re: CUDA_DGESV crashes for more than 15k size

Postby john » Mon Jan 23, 2012 6:37 am

When you say "crash" do you mean a literal crash - ie your program seg. faults? I ask because you've noted erroneous data and/or error codes, which indicates to me that the routine has run without crashing.

15k x 15k happens to be right about at 1 GB. Are you certain that you're able to allocate the full matrix on the GPU? You didn't state your system configuration, so I can only hypothesize. CULA's host interface should return an out of memory status if it can't allocate the whole matrix, but the device interface obviously requires that you have already pre-allocated your matrix data.

DataError indicates a singular matrix has been encountered. It could be that your whole matrix has not been loaded to the card properly or that your data is possibly not stable to single precision at these larger sizes?

Lastly, I would strongly advise moving up from R11 to the latest version and testing on the latest to ensure this is still a problem for you.
Posts: 587
Joined: Thu Jul 23, 2009 2:31 pm

Return to CULA Dense Support

Who is online

Users browsing this forum: No registered users and 1 guest