-
Notifications
You must be signed in to change notification settings - Fork 107
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
Feature/split gauge reuse #1543
Open
aroadant
wants to merge
15
commits into
develop
Choose a base branch
from
feature/split-gauge-reuse
base: develop
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
+297
−153
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
Loading status checks…
…e-reuse
Loading status checks…
…e-reuse
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.
These modifications will allow the reuse of the redistributed gauge buffers.
QudaGaugeParam.use_split_gauge_bkup
is added to determine whether to delete the buffer after use or not. Its default value is0
. The internal flagupdate_split_gauge
is used to determine whether an update of buffer is needed or not.The initial test with
staggered_invert_test.cpp
gives the same results withgauge_param.use_split_gauge_bkup = 0
or1
. Also inversions can be done correctly withinv_param.split_grid[i] = 1
after split gauge inversions. Results from various default tests are good with default valueuse_split_gauge_bkup=0/1
.The test
staggered_invert_test
is updated with the flag--use_split_gauge_bkup
. Results from the following input looks goodstaggered_invert_test --dim 6 6 6 6 --gridsize 2 2 2 2 --grid-partition 2 2 2 2
-dslash-type staggered --compute-fat-long false --unit-gauge 0 --tadpole-coeff 1.0 --verbosity-precondition debug --recon 13
--mass 0.02 --solve-type direct-pc --solution-type mat --inv-type cg --matpc even-even
--prec double --prec-sloppy single
--nsrc 64 --nsrc-tile 16 --niter 10000 --tol 1e-100
--inv-multigrid false --mass-normalization mass --fermion-t-boundary periodic --verify 1 --use_split_gauge_bkup 1