Page 2 of 2

Re: Unable to run zgetri_gpu

Posted: Tue Apr 22, 2014 6:08 pm
by hsahasra
test_zgetri.c is working fine, which means there is some bug in my code.

Re: Unable to run zgetri_gpu

Posted: Sun May 04, 2014 11:25 am
by hsahasra
Hi Mark,

I think I'm closer to the bug in my code and possibly a bug in MAGMA. I'm using magma_zgetrf_gpu + magma_zgetri_gpu in several iterations on different matrices. What I found was that if I copy those different matrices to a fixed memory on GPU and then invert the matrix, the inversion runs properly. If I invert the different matrices without copying them to the fixed memory, then inversion fails.

I'm trying to make a standalone executable which reproduces this error. Will get back to you when this is done.

Harshad

Re: Unable to run zgetri_gpu

Posted: Fri Mar 06, 2015 7:44 am
by ggscorzato
Hi Harshad,

I have similar problems and I wonder if you solved you issue.

What do you mean by "fixed memory on GPU" ?

many thanks, Luigi

Re: Unable to run zgetri_gpu

Posted: Tue Jun 02, 2015 12:17 pm
by hsahasra
Hi Luigi,

This was a bug with the inversion routine, so there was no way to make this run in the older versions. Apparently it has been fixed now, I haven't checked though. What problems are you facing? Which version of MAGMA are you using?

Harshad

Re: Unable to run zgetri_gpu

Posted: Tue Jun 02, 2015 12:20 pm
by hsahasra
Please check this post. viewtopic.php?f=2&t=1062

This was the bug I found in zgetri. I was able to invert matrices with size divisible by 32 in pre 1.5.0 versions. Inversion of matrices of other sizes failed.