Skip to content

Clarification on gesv Function and GEMM Optimization #5060

Answered by martin-frbg
Harishmcw asked this question in Q&A
Discussion options

You must be logged in to vote

The GESV implementation in OpenBLAS is imported unchanged from Reference-LAPACK, where it is basically a wrapper around GETRF/GETRS. As such, there is no "primary role" except to provide standard LAPACK functionality.

Please see the call graph for GESV in the online documentation of the reference implementation of LAPACK on netlib.org.

GETRF makes heavy use of GEMM and has been reimplemented and parallelized in OpenBLAS. I believe the only specific optimization possible would be to explore the multithreading strategy and the validity of the current problem size threshold for the switchover between single and multithreaded operation in GETRF/GETRS.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Harishmcw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants