Does MAGMA support out-of-core computations ?

Open discussion for MAGMA

Does MAGMA support out-of-core computations ?

Postby tavishvaidya » Mon Dec 26, 2011 12:45 pm

I haven't use MAGMA as of now and wanted to know that does MAGMA 1.1 support out-of-core memory operations without having to worry about the division of input data ? The input data is more than the capacity of global memory available with the GPU, and for such a case, is it possible to just allocate the memory on the CPU and let MAGMA figure out how to do the computations on the bigger input data ?
tavishvaidya
 
Posts: 2
Joined: Mon Dec 26, 2011 12:25 pm

Re: Does MAGMA support out-of-core computations ?

Postby mgates3 » Fri Jan 06, 2012 3:01 pm

Yes, for LU, Cholesky, and QR the MAGMA code automatically handles matrices larger than the GPU's memory ("non-GPU resident"). The input matrix must fit in the host's memory.

-mark
mgates3
 
Posts: 441
Joined: Fri Jan 06, 2012 2:13 pm

Re: Does MAGMA support out-of-core computations ?

Postby fletchjp » Tue Jan 10, 2012 7:36 am

Which are the top level routines which use this? Are there any examples?

John
fletchjp
 
Posts: 175
Joined: Mon Dec 27, 2010 7:29 pm

Re: Does MAGMA support out-of-core computations ?

Postby fletchjp » Mon Jan 23, 2012 6:53 am

Presumably this is not supported by routines where the user assigns the GPU memory, because all they could do is assign memory for the whole matrix, which would then fail.

John
fletchjp
 
Posts: 175
Joined: Mon Dec 27, 2010 7:29 pm

Re: Does MAGMA support out-of-core computations ?

Postby mgates3 » Mon Feb 06, 2012 5:03 pm

The routines are
magma_*getrf() for LU,
magma_*potrf() for Cholesky,
magma_*qrtrf() for QR.
These automatically do out-of-core computation, so the regular testing_*trf sample code should work, given a large matrix.

An out-of-core triangular solve is not currently available in MAGMA, so you have to use LAPACK's triangular solve, getrs() or potrs(). Similarly for QR, use LAPACK's unmqr or ungqr.

-mark
mgates3
 
Posts: 441
Joined: Fri Jan 06, 2012 2:13 pm


Return to User discussion

Who is online

Users browsing this forum: Google [Bot], XapaJIaMnu, Yahoo [Bot] and 1 guest