Skip to content
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

Multishift refinement w/ QUDA #1

Open
mathiaswagner opened this issue Jul 9, 2015 · 0 comments
Open

Multishift refinement w/ QUDA #1

mathiaswagner opened this issue Jul 9, 2015 · 0 comments

Comments

@mathiaswagner
Copy link
Member

QUDA internally refines the multi shift inversions using the single CG.
The MILC code also calls the single CG (either CPU or GPU) again.
This generates a lot of overhead and essentially always does zero iterations, so just wastes a lot of time.
There is an option NO_REFINE which skips the refinement step if the Naik epsilon of the higher shifts is identical to the one for the zeroth-shift.
It would be beneficial to turn off any refinement call from the MILC code, i.e. make NO_REFINE the default option.

Any objections, @detar, @stevengottlieb ?

In a short test on a 32^4 lattice that reduce runtime of the RHMC (single precision) by a factor 2. Admitted, I basically just changed the test case from tests case, so the iteration count is low and the overhead more pronounced.

detar added a commit that referenced this issue Oct 19, 2015
QUDA interfacing improvements to mixed-precision multi-shift solver
weinbe2 pushed a commit that referenced this issue Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant