MAGMA matrix tiling

19 views
Skip to first unread message

Nik D

unread,
Jul 10, 2024, 8:46:09 AM7/10/24
to MAGMA User
Dear Magma users,

I'm a beginner to MAGMA library. I'm trying to adapt my Fortran program with Intel MKL ZGESV routine to MAGMA. I think the example_f.F90 program in example/ folder is exactly what I need. But, the problem is, the matrix of my system of equations is bigger than my GPU memory. So, I'd like to know: does MAGMA ZGESV routine automatically tiles the matrix and manage the memory utilization, or do I need to do it by myself?
Thanks in advance,

Nik

Ahmad Abdelfattah

unread,
Jul 10, 2024, 9:05:12 AM7/10/24
to Nik D, MAGMA User
Hi Nik, 

The routine magma_zgesv assumes by default that there is enough memory for the linear system on the GPU. If not, it calls an alternate implementation that performs the factorization using the GPU (with tiling), followed by the triangular solves (ZGETRS) on the CPU. These routines have not been updated for quite some time, so I am not sure how they would perform. 

Thanks,
Ahmad


--
You received this message because you are subscribed to the Google Groups "MAGMA User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to magma-user+...@icl.utk.edu.
To view this discussion on the web visit https://groups.google.com/a/icl.utk.edu/d/msgid/magma-user/c0bd069d-0f16-4553-bcc5-2ea96c2ad43en%40icl.utk.edu.

Reply all
Reply to author
Forward
0 new messages