Netlib Lapack function name in Magma

15 views
Skip to first unread message

Guilherme Fernandes de Souza Miguel

unread,
Apr 14, 2025, 11:46:30 AMApr 14
to MAGMA User

Hello everyone,

I’m currently working on porting some BLAS and LAPACK calls from LAPACK to MAGMA to leverage its GPU capabilities. Several routines share the same names as their Netlib counterparts (for example, dgemv and dgbsv). However, I noticed that where Netlib uses dgelss, MAGMA provides dgels—the name is missing the final “s.” Are these two functions essentially the same?

Natalie Beams

unread,
Apr 14, 2025, 11:58:40 AMApr 14
to MAGMA User, guilherm...@ufes.br
LAPACK provides both dgels and dgelss. They are both solvers for underdetermined/overdetermined systems, but dgels uses a QR or LQ factorization, while dgelss uses the SVD.
dgels assumes the matrix has full rank, while dgelss does not.

In addition to these differences, note that for MAGMA, dgels is only implemented for *overdetermined* systems.


-- Natalie
Reply all
Reply to author
Forward
0 new messages