Page 1 of 1

Eigenvalue routine in Magma

Posted: Sun Oct 12, 2014 6:29 am
by Nithishify
Hi,

I have to calculate the eigenvalues 1000 symmetric matrices and the dimension of these matrices are very small( about 10 * 10) in each run. All these matrices are computed on the GPU. As far as i understand from the magma routines, the eigenvalue routine for GPUs transfers these matrices to the cpu for computation. So is there a magma routine for me to do all the computations on the GPU without sending all the matrices to the CPU

Re: Eigenvalue routine in Magma

Posted: Mon Oct 13, 2014 5:18 pm
by mgates3
No, MAGMA doesn't have any routines to compute eigenvalues entirely on the GPU. All the eigenvalue routines are hybrid -- some computation is done on the GPU, some on the CPU. For such small matrices (even many of them), it is generally faster to compute on the CPU. E.g., set BLAS to single-threaded, launch P threads on P cores, and compute P eigenvalue problems simultaneously. Since each problem fits entirely in cache, the CPU will be quite efficient.

-mark