Christopher Kelly
abc658dca5
Added coalescedReadGeneralPermute CPU implementation based on Christoph's GPT code
...
In a test code, implemented a padded-cell version of the staple and rectangular-staple calculation
2023-06-20 16:14:25 -04:00
david clarke
b61ba40023
Merge remote-tracking branch 'origin/develop' into develop
2023-06-20 13:04:53 -06:00
Alessandro Lupo
2372275b2c
Merge pull request #36 from LupoA/sp2n/gpu-bugfix
...
Sp2n/gpu bugfix [close #30 ]
2023-06-20 13:46:00 +01:00
Julian Lenz
5e539e2d54
Forgot some follow-ups on changed signature
2023-06-18 12:37:51 +01:00
Julian Lenz
621e612c30
Fix non-zero ret on device bug
2023-06-16 16:27:49 +01:00
Julian Lenz
8c3792721b
ClangFormat
2023-06-16 15:58:23 +01:00
Alessandro Lupo
c797cbe737
deal with post-merge trauma
2023-06-16 14:20:37 +01:00
Alessandro Lupo
e09dfbf1c2
definetely the right merge upstream/develop
2023-06-16 14:19:46 +01:00
Peter Boyle
f1c358b596
Additional tests
2023-06-15 10:43:04 -04:00
Julian Lenz
b0646ca187
Remove some unused variables
2023-06-15 15:09:09 +01:00
david clarke
14d352ea4f
added smearParams struct
2023-06-12 16:55:44 -06:00
david clarke
1cf9ec1cce
now compiles
2023-06-09 16:27:45 -06:00
david clarke
4b994a1bc7
trouble with compilation
2023-06-08 17:37:25 -06:00
david clarke
e506d6d369
Merge branch 'develop' into hisq_fat_links
2023-06-07 21:16:20 -06:00
david clarke
ab56ad8d7a
fix 3-link stencil
2023-06-07 21:14:58 -06:00
Peter Boyle
5465961e30
New test for FTHMC portion
2023-06-01 06:14:04 -04:00
Alessandro Lupo
fe88a0c12f
cleaner twoindex class, cleaner tests
2023-05-26 16:55:30 +01:00
Alessandro Lupo
de8daa3824
group is SUn by default
2023-05-26 13:44:41 +01:00
Alessandro Lupo
be1a4f5860
implement TwoIndexSymm for sp2n
2023-05-22 17:21:03 +01:00
Alessandro Lupo
5897b93dd4
debug tests, fix dimension
2023-05-22 13:42:21 +01:00
Alessandro Lupo
af091e0881
DimensionHelper for 2index irreps
2023-05-21 16:56:06 +01:00
david clarke
c7bdf2c0e4
3-link test at least gives an answer
2023-05-21 04:33:20 -06:00
Julian Lenz
a5125e23f4
Typo
2023-05-18 15:41:35 +01:00
david clarke
bf91778550
verbose plaquette example; fat link test frame
2023-05-17 15:15:54 -06:00
Alessandro Lupo
932c783fbf
2AS for every Nc!
2023-05-17 20:22:05 +01:00
Julian Lenz
55f9cce577
Revert "Added automated HMC test for Nc=4"
...
This reverts commit eee27b8b30
.
2023-05-17 09:17:48 +01:00
Alessandro Lupo
b3533ca847
correct tests (failing)
2023-05-16 17:43:52 +01:00
Alessandro Lupo
fd2a637010
test 2index
2023-05-16 14:10:39 +01:00
Julian Lenz
eee27b8b30
Added automated HMC test for Nc=4
2023-05-15 18:37:33 +01:00
Julian Lenz
8522352aa3
ClangFormat
2023-05-15 18:36:05 +01:00
Julian Lenz
e8ad1fef53
Unify TwoIndex
2023-05-12 14:35:50 +01:00
Peter Boyle
9c8750f261
Merge branch 'develop' of https://github.com/paboyle/Grid into develop
2023-05-11 12:29:09 -04:00
Peter Boyle
91efd08179
Option for Qlat generator basis
2023-05-11 12:27:45 -04:00
Peter Boyle
1b8a834beb
Debug
2023-05-11 12:22:24 -04:00
Alessandro Lupo
aa9df63a05
rename group projections based on determinants
2023-05-10 14:50:52 +01:00
Julian Lenz
6e62f4f616
ClangFormat
2023-05-03 16:15:12 +01:00
Julian Lenz
6a7bdca53b
Take over additional algebra tests from Alessandro
2023-05-03 16:02:02 +01:00
Julian Lenz
c7fba9aace
Take over additional group tests from Alessandro
2023-05-03 16:01:48 +01:00
Julian Lenz
ac6c7cb8d6
Merge in Alessandro's changes [test fails]
2023-05-03 02:53:03 +01:00
Julian Lenz
c5924833a1
ClangFormat
2023-05-03 02:39:36 +01:00
Julian Lenz
ac0a74be0d
Taken care of algebra tests
2023-05-03 02:32:42 +01:00
Julian Lenz
42b0e1125d
Naming and argument types
2023-05-03 01:51:46 +01:00
Julian Lenz
339c4fda79
Extracted is_element_of Sp2n
2023-05-02 15:44:34 +01:00
Alessandro Lupo
9b85bf9402
better projection test
2023-05-02 15:42:20 +01:00
Alessandro Lupo
7b3b7093fa
cleaning up requested by Ed
2023-05-02 12:50:57 +01:00
Alessandro Lupo
881b08a465
Correct implementation of SpTa
2023-04-27 18:17:06 +01:00
Alessandro Lupo
5aabe074fe
Rename Sympl* to Sp*
2023-04-18 11:50:20 +01:00
Peter Boyle
bd891fb3f5
tests to compile
2023-04-12 18:32:44 -04:00
Alessandro Lupo
178376f24b
minor stylistic changes
2023-04-06 12:08:17 +01:00
Alessandro Lupo
778291230a
expand ProjecOnGaugeGroup, change ProjectOnSp2nAlgebra into SpTa, fixing some of its issues
2023-04-04 17:48:13 +01:00
Alessandro Lupo
026e736dfa
Projection on algebra can now be templated. Fix #12
2023-04-03 16:31:19 +01:00
Peter Boyle
866f48391a
Temporary fix for develop incorrect results
2023-03-30 17:10:13 -04:00
Peter Boyle
c42e25e5b8
Dirichlet remove
2023-03-29 16:25:52 -04:00
Peter Boyle
d57ed25071
Merge branch 'feature/dirichlet' into feature/block_lanczos22
2023-03-24 12:08:09 -04:00
Peter Boyle
8a1b9073f9
Mshift update
2023-03-23 15:39:30 -04:00
Peter Boyle
3f385f717c
Merge branch 'feature/dirichlet' of https://github.com/paboyle/Grid into feature/dirichlet
...
Conflicts:
systems/PVC/benchmarks/run-2tile-mpi.sh
systems/PVC/config-command
2023-03-23 14:52:53 -04:00
Peter Boyle
23298acb81
Merge pull request #424 from giltirn/feature/dirichlet-precchange
...
Precision change implementation
2023-03-22 23:04:52 -04:00
Peter Boyle
c6621806ca
Compiling on laptop and running
2023-03-21 17:27:09 -04:00
Peter Boyle
b5b759df73
Merge branch 'develop' into feature/dirichlet
2023-03-21 16:05:46 -04:00
Peter Boyle
7db8dd7a95
Merge branch 'feature/dirichlet' of https://github.com/paboyle/Grid into feature/dirichlet
2023-03-21 16:04:27 -04:00
Peter Boyle
f17f879206
Test update
2023-03-21 15:59:29 -04:00
Alessandro Lupo
cbc053c3db
Revert "projection on Sp2n algebra, to be used instead of Ta"
...
This reverts commit ba7f9d7b70
.
2023-03-17 11:36:58 +00:00
Alessandro Lupo
cdf3f6ef6e
Merge branch 'refactoring_sp2n' of https://github.com/LupoA/Grid into refactoring_sp2n
2023-03-15 15:59:50 +00:00
Alessandro Lupo
ba7f9d7b70
projection on Sp2n algebra, to be used instead of Ta
2023-03-15 15:55:12 +00:00
Alessandro Lupo
d6ff644aab
Towards the day all tests compile
2023-03-14 10:43:25 +00:00
Julian Lenz
29586f6b5e
Deactivate some tests for Nc!=3
2023-03-13 08:17:14 +00:00
Christopher Kelly
e82cf1d311
Further prec-change improvements
...
Mixed prec CG algorithm has been modified to precompute precision change workspaces
As the original Test_dwf_mixedcg_prec has been coopted to do a performance stability and reproducibility test, requiring the single-prec CG to be run 200 times, I have created a new version of Test_dwf_mixedcg_prec in the solver subdirectory that just does the mixed vs double CG test
2023-02-23 09:45:29 -05:00
Christopher Kelly
1db58a8acc
Precision change improvements
...
Added a new, much faster implementation of precision change that uses (optionally) a precomputed workspace containing pointer offsets that is device resident, such that all lattice copying occurs only on the device and no host<->device transfer is required, other than the pointer table. It also avoids the need to unpack and repack the fields using explicit lane copying. When this new precisionChange is called without a workspace, one will be computed on-the-fly; however it is still considerably faster than the original implementation.
In the special case of using double2 and when the Grids are the same, calls to the new precisionChange will automatically use precisionChangeFast, such that there is a single API call for all precision changes.
Reliable update and mixed-prec multishift have been modified to precompute precision change workspaces
Renamed the original precisionChange as precisionChangeOrig
Fixed incorrect pointer offset bug in copyLane
Added a test and a benchmark for precisionChange
Added a test for reliable update CG
2023-02-21 10:52:42 -05:00
Peter Boyle
ccd21f96ff
Plaquette agreeing and moving to final form (slowly) need to optimise
2023-02-01 22:57:44 -05:00
Peter Boyle
4b90cb8888
First cut passes combining padded cell with general stencil towards fast plaquette and staggered force
2023-02-01 22:14:10 -05:00
Peter Boyle
4ca1bf7cca
Added gauge invariance test
2022-12-21 07:23:16 -05:00
Peter Boyle
ede02b6883
Memory manager debug Felix case
2022-12-20 05:10:23 -05:00
Peter Boyle
d8c29f5fcf
Updated FFT test for PETSc
2022-12-18 12:05:00 -05:00
Peter Boyle
281f8101fe
Matt FFT test
2022-12-17 20:35:33 -05:00
Peter Boyle
472ed2dd5c
Merge branch 'feature/dirichlet' of https://github.com/paboyle/Grid into feature/dirichlet
2022-12-17 20:17:09 -05:00
Peter Boyle
4f85672674
Simpler test for PETSc
2022-12-17 20:16:11 -05:00
Peter Boyle
5bb7ba92fa
Test for DDHMC force term
2022-12-13 08:15:11 -05:00
Chulwoo Jung
dc6a38f177
Minor cleanup
2022-11-30 17:13:12 -05:00
Chulwoo Jung
82c1ecf60f
Block lanczos added
2022-11-30 16:08:40 -05:00
Julian Lenz
505fa49983
Renamed SUn.h -> GaugeGroup.h
2022-11-30 17:09:48 +00:00
Julian Lenz
7bcf33def9
Removed Sp2n.h
2022-11-30 16:59:46 +00:00
Julian Lenz
fa71b46a41
Hide nsp
2022-11-30 14:44:23 +00:00
Julian Lenz
6e750ecb0e
Remove apparently forgotten file
2022-11-28 16:33:46 +00:00
Julian Lenz
1aa28b47ae
Add existing test to check
2022-11-25 17:40:40 +00:00
Julian Lenz
629cb2987a
Fix typo in Makefile.am
2022-11-25 17:40:21 +00:00
Alessandro Lupo
22064c7e4c
Fixing #11
2022-11-25 13:10:29 +00:00
Alessandro Lupo
2de03e5172
Revert "Revert "Fixing issue #11 : consistent use of ncolour and nsp""
...
This reverts commit 3af4929dda
.
2022-11-23 19:40:28 +00:00
Alessandro Lupo
3af4929dda
Revert "Fixing issue #11 : consistent use of ncolour and nsp"
...
This reverts commit 1ba429345b
.
2022-11-23 19:34:59 +00:00
Alessandro Lupo
1ba429345b
Fixing issue #11 : consistent use of ncolour and nsp
2022-11-23 18:45:01 +00:00
Peter Boyle
3dbfce5223
Tests clean build on HIP
2022-11-16 20:15:51 -05:00
Peter Boyle
e51eaedc56
Making tests compile
2022-11-15 22:58:30 -05:00
Peter Boyle
a3927a8a27
Dirichlet
2022-11-02 20:22:27 -04:00
Peter Boyle
c82b164f6b
Merge branch 'feature/dirichlet' of https://github.com/paboyle/Grid into feature/dirichlet
2022-10-04 17:41:48 -04:00
Christopher Kelly
66d001ec9e
Refactored Wilson flow class; previously the class implemented both iterative and adaptive smearing, but only the iterative method was accessible through the Smearing base class. The implementation of Smearing also forced a clunky need to pass iterative smearing parameters through the constructor but adaptive smearing parameters through the function call. Now there is a WilsonFlowBase class that implements common functionality, and separate WilsonFlow (iterative) and WilsonFlowAdaptive (adaptive) classes, both of which implement Smearing virtual functions.
...
Modified the Wilson flow adaptive smearing step size update to implement the original Ramos definition of the distance, where previously it used the norm of a difference which scales with the volume and so would choose too coarse or too fine steps depending on the volume. This is based on Chulwoo's code.
Added a test comparing adaptive (with tuneable tolerance) to iterative Wilson flow smearing on a random gauge configuration.
2022-10-03 10:59:38 -04:00
Christopher Kelly
19da647e3c
Added support for non-periodic gauge field implementations in the random gauge shift performed at the start of the HMC trajectory
...
(The above required exposing the gauge implementation to the HMC class through the Integrator class)
Made the random shift optional (default on) through a parameter in HMCparameters
Modified ConjugateBC::CshiftLink such that it supports any shift in -L < shift < L rather than just +-1
Added a tester for the BC-respecting Cshift
Fixed a missing system header include in SSE4 intrinsics wrapper
Fixed sumD_cpu for single-prec types performing an incorrect conversion to a single-prec data type at the end, that fails to compile on some systems
2022-09-09 12:47:09 -04:00
Peter Boyle
1177b8f661
Merge branch 'develop' into feature/dirichlet
2022-08-31 19:05:57 -04:00
Peter Boyle
3c1c51f9aa
Merge branch 'feature/dirichlet-gparity' into feature/dirichlet
2022-08-31 18:25:34 -04:00
Peter Boyle
8cc3c522c3
Merge pull request #409 from giltirn/feature/dirichlet-gparity-stage
...
Import round 5
2022-08-31 18:22:50 -04:00
Gurtej Kanwar
60dfb49afa
Remove FP16 tests when FP16 is disabled
2022-08-21 17:29:55 +02:00
Peter Boyle
9b20f1449c
Better timing
2022-07-28 11:37:12 -04:00