Batched DGEQRF memory usage

21 views
Skip to first unread message

James Neuhaus

unread,
Feb 1, 2021, 2:12:29 PMFeb 1
to MAGMA User

Hello,

Is there a way to estimate the upper bound of device memory allocated by the routine magma_dgeqrf_batched?

Thanks,

James

Ahmad Abdelfattah

unread,
Feb 2, 2021, 11:03:13 AMFeb 2
to James Neuhaus, MAGMA User
Hi James, 

You will have to look at the code in src/dgeqrf_batched.cpp and src/dgeqrf_expert_batched.cpp, and search for all the malloc calls. 

For me, it looks like the “dominant” mallocs are at:
  • Lines 136 & 137 in dgeqrf_batched.cpp
  • Line 196 in dgeqrf_expert_batched.cpp

There are many other mallocs, but they are just used for allocating auxiliary pointer arrays (depending on your batch size). 

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/caf4a0e8-ef2c-4f7c-ab02-856ab200c2c4n%40icl.utk.edu.

James Neuhaus

unread,
Feb 10, 2021, 8:54:38 AMFeb 10
to MAGMA User, ah...@icl.utk.edu, MAGMA User, James Neuhaus
Thanks!
Reply all
Reply to author
Forward
0 new messages