Unable to run zgetri_gpu

Open discussion for MAGMA library (Matrix Algebra on GPU and Multicore Architectures)
hsahasra
Posts: 32
Joined: Mon Jun 24, 2013 3:40 pm

Re: Unable to run zgetri_gpu

Post by hsahasra » Tue Apr 22, 2014 6:08 pm

test_zgetri.c is working fine, which means there is some bug in my code.

hsahasra
Posts: 32
Joined: Mon Jun 24, 2013 3:40 pm

Re: Unable to run zgetri_gpu

Post by hsahasra » Sun May 04, 2014 11:25 am

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

ggscorzato
Posts: 1
Joined: Fri Mar 06, 2015 7:39 am

Re: Unable to run zgetri_gpu

Post by ggscorzato » Fri Mar 06, 2015 7:44 am

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

hsahasra
Posts: 32
Joined: Mon Jun 24, 2013 3:40 pm

Re: Unable to run zgetri_gpu

Post by hsahasra » Tue Jun 02, 2015 12:17 pm

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

hsahasra
Posts: 32
Joined: Mon Jun 24, 2013 3:40 pm

Re: Unable to run zgetri_gpu

Post by hsahasra » Tue Jun 02, 2015 12:20 pm

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.

Post Reply