-
Notifications
You must be signed in to change notification settings - Fork 450
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Xorgqr #1112
Open
jprhyne
wants to merge
14
commits into
Reference-LAPACK:master
Choose a base branch
from
jprhyne:xorgqr
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Xorgqr #1112
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Hey Y'all!
I implementted some performance improvements for computing the explicit Q factor in the X{or,un}gY routines. This takes 2 forms.
C_1
is 0. This leads to some improvements in performance as well as on the first iteration assuming thatC_2
is I. This also leads to some performance improvements especially as the block size increasesimprovements down the line which I am in the process of implementing.
A more formal writeup of this can be found at my repository for my Master's Project
I compiled the tex file with the current version of pdftex on a linux machine.
In addition, I have attached some performance plots of computing the Q factor from the QR and LQ factorizations in double precision to motivate why I think it will be beneficial to refactor xLARFT to return a T matrix of the same shape as the triangular factor even before implementing the panel factorization. To see the justification of the panel factorization, see the above linked repository folder
dorgqrDorglqOptPerfExperiments.pdf
dorgqrDorglqPerfExperiments.pdf
dorgqrPerfExperiments.pdf
I ran these experiments on an AMD EPYC 7502 CPU and I ran each experiment 10 times reporting the mean of those experiments. To see the form of these experiments, see the files titled
timeDorgqrVsDorglq.c
,timeDorgqrVsDorglq.sh
, andtime_dorgqr_vs_dorglq.batch
found here. The .c file is the main driver that calls our FORTRAN routines and times execution, the .sh file calls our .c file with varying inputs, and the .batch file is what is used to run the job via slurm on the HPC I used.The main takeaway from these figures is that the slight improvements that we see in QR are not present as much in the LQ factorization so even without the more efficient panel factorization.
Checklist