magma_dgesv_batched_small

23 views
Skip to first unread message

Xuanhao Bao

unread,
Oct 24, 2024, 11:39:40 AM10/24/24
to MAGMA User
Hi all,

I'm trying to use Magma to solve a batch of Ax = b problems.

What are the differences between magma_dgesv_batched and magma_dgesv_batched_small? If magma_dgesv_batched_small is designed for faster batch solving of small matrices, what size is considered a small matrix in Magma? Is it 20x20? 50x50? 

Best wishes,
Xuanhao

Ahmad Abdelfattah

unread,
Oct 24, 2024, 11:43:01 AM10/24/24
to Xuanhao Bao, MAGMA User
Hi, 

The short answer is: you should use magma_dgesv_batched. It calls magma_dgesv_batched_small underneath if the matrices are very small and there is only one right hand side to solve. Right now, the internal tuning for magma_dgesv_batched_small seems to support up to 60x60 systems. 

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 visit https://groups.google.com/a/icl.utk.edu/d/msgid/magma-user/d921a8cf-4a03-420d-baac-d9ab273734e5n%40icl.utk.edu.

Reply all
Reply to author
Forward
0 new messages