1
0
mirror of https://github.com/paboyle/Grid.git synced 2026-04-21 11:06:12 +01:00
Commit Graph

1327 Commits

Author SHA1 Message Date
Christopher Kelly feee5ccde2 Added Gparity flavour Pauli matrix algebra and associated tensor types mirroring strategy used for Gamma matrices
Added test program for the above
2021-03-03 15:39:41 -05:00
Christopher Kelly c2676853ca Merge branch 'bugfix/maxnorm2' into feature/gparity_HMC 2021-02-08 12:17:33 -05:00
Christopher Kelly 55de69a569 Fixed compile issues with maxLocalNorm2 for non-scalar lattices
maxLocalNorm2 test now reuses the random field
2021-02-08 12:03:16 -05:00
Christopher Kelly 6a824033f8 Merge branch 'develop' into feature/gparity_HMC 2021-02-08 09:31:49 -05:00
Peter Boyle cd99edcc5f maxLocalNorm2() 2021-02-04 18:25:49 -05:00
Christopher Kelly d10d0c4e7f Merge branch 'develop' into feature/gparity_HMC 2021-01-25 15:13:29 -05:00
Christopher Kelly 6795bbca31 Generalized GeneralEvenOddRatioRationalPseudoFermionAction such that the multi-shift CG algorithm can be overridden by derived classes
Added a mixed-precision variant of GeneralEvenOddRatioRationalPseudoFermionAction and a verification test against double prec class
Fixed non-const reference used in passing RHMC approx to multishift classes
2021-01-25 14:22:31 -05:00
Peter Boyle 69f1f04f74 Merge branch 'develop' of https://github.com/paboyle/Grid into develop 2021-01-21 21:39:59 -05:00
Peter Boyle 11a5fd09d6 Hot config 2021-01-21 21:39:41 -05:00
Christopher Kelly d161c2dc35 Improved formating of timing output in mixed-prec multishift
In test of mixed-prec multishift, added comparison against full double precision multishift both for timing and to cross-check the results
2021-01-20 15:42:06 -05:00
Christopher Kelly 7a06826cf1 Added option to NerscIO to disable exit on failing plaquette check allowing for circumvention of factor of 2 error in CPS-generated G-parity config headers
Adapted mixed-prec multi-shift test to new way to pass gauge BC directions and added cmdline option to perform the G-parity plaquette comparison with the corrected plaquette when loading config
2021-01-20 13:31:50 -05:00
Christopher Kelly c3712b8e06 Merge branch 'develop' into feature/gparity_HMC 2021-01-20 11:48:52 -05:00
Christopher Kelly 901ee77b84 Mixed precision multishift test can now be performed with/without G-parity using cmdline check and can load a pregenerated configuration 2021-01-20 11:45:44 -05:00
Peter Boyle 3c23a947cc Fixed test for very much non-unit det 2021-01-15 09:16:02 -05:00
Peter Boyle 56111bb823 Merge branch 'develop' into feature/conjugate-bc-dirs 2021-01-14 21:01:22 -05:00
Peter Boyle 99445673f6 Gparity fix, and plaquette IO 2021-01-14 21:00:36 -05:00
Peter Boyle 97a59643f7 Red black coarse space 2021-01-14 20:49:13 -05:00
Peter Boyle 579595f547 Red black on coarse space 2021-01-14 20:48:35 -05:00
Peter Boyle a4afc3ea2a Red black coarse space 2021-01-14 20:44:16 -05:00
Christopher Kelly 1b84f59273 Added a mixed precision multishift algorithm for which the matrix multiplies are performed in single precision but the search directions are accumulated in double precision.
A reliable update step is performed at a tunable frequency to correct the residual. A final mixed-prec single-shift solve is performed on each pole to perform cleanup if necessary.
A test is provided to demonstrate the algorithm.
2021-01-06 12:24:44 -05:00
Christopher Kelly 80c14be65e Added core test to check precision change 2021-01-06 09:34:44 -05:00
Christopher Kelly 813d4cd900 Added test program that ensures the generic checkerboarded RHMC (with parameters set appropriately) gives the same answer as the existing 1f code 2020-12-23 16:01:42 -05:00
Christopher Kelly a0ca362690 Added an RHMC pseudofermion action, GeneralEvenOddRatioRationalPseudoFermionAction, that works for an arbitrary fractional power, not just a square root
Added a test evolution for the above, Test_rhmc_EOWilsonRatioPowQuarter, demonstrating conservation of Hamiltonian
Fixed HMC ignoring the MetropolisTest parameter of HMCparameters
2020-12-17 16:21:58 -05:00
Christopher Kelly 249b6e61ec For G-parity BCs the Nd-1 direction is now assumed to be the time direction and setting a twist in this direction will apply antiperiodic BCs
Added option to run Test_gparity with antiperiodic time BCs
2020-12-17 14:09:00 -05:00
Michael Marshall 873519e960 Enable existing conserved current code for CUDA (compiles OK for CUDA 10.1). Add option to Test_cayley_mres to load a configuration 2020-12-14 16:06:10 +00:00
Peter Boyle 888eacd3b8 Merge branch 'develop' of https://github.com/paboyle/Grid into develop 2020-11-24 21:46:33 -05:00
Peter Boyle 321f0f51b5 Project to SU(N) 2020-11-24 21:46:10 -05:00
Christoph Lehner 4ea8d128c2 Merge pull request #18 from paboyle/develop
Sync
2020-11-20 15:36:50 +01:00
Peter Boyle aace3d47b9 partial work in progress 2020-11-19 19:24:14 +01:00
Peter Boyle d10422ded8 Test project on group 2020-10-31 18:12:30 -04:00
Peter Boyle 3362f8dfa0 happy compile 2020-10-14 22:59:41 -04:00
Peter Boyle d201277652 Expose Nc as a compile time configure option.
Remove precision option
2020-10-07 13:07:00 -04:00
Daniel Richtmann 4d2dc7ba03 Enable even-odd for CoarsenedMatrix 2020-09-11 20:32:02 +02:00
Peter Boyle 65b724bb5f 2 level hddcr 2020-09-03 21:46:43 -04:00
Peter Boyle c545530170 little worry large Nbasis doesnt compile GPU 2020-09-01 00:14:33 -04:00
Peter Boyle d982a5b6d5 Fix coaarsened 2020-09-01 00:14:04 -04:00
Peter Boyle 15ca8637f3 No norms in HermOp 2020-09-01 00:13:32 -04:00
Peter Boyle cbc995b74c Made better interface 2020-09-01 00:12:54 -04:00
Peter Boyle 8b74174d74 Eigen tensor serialisatiino happy undeer GPU. Regret agreeing to let us couple Eigen types to Grid IO 2020-09-01 00:03:26 -04:00
Peter Boyle 3d27708f07 Basic where test 2020-08-31 23:55:49 -04:00
Peter Boyle 90ea7dfa99 Accelerator loops for device resident comms buf 2020-08-19 22:40:44 +02:00
Christoph Lehner 542bdef198 cleanup comments 2020-08-14 18:39:44 +02:00
Christoph Lehner 06007db3d9 true shm_none implementation with GPUs that disables the use of device shared memory for the stencils 2020-08-14 18:37:00 +02:00
Christoph Lehner 3e64d78469 include versions.h again and add back asserts in Test_simd 2020-07-29 10:18:05 -04:00
nmeyer-ur 8726e94ea7 merge upstream develop 2020-07-07 20:26:47 +02:00
Peter Boyle ee9889821d Runs through to coarse space solve 2020-06-29 12:59:52 -04:00
Peter Boyle 70be1bd8be Adding code under development 2020-06-23 10:24:21 -04:00
Peter Boyle edf17708a8 Range improvement 2020-06-18 22:41:06 -04:00
Peter Boyle cdf0a04fc5 Merge branch 'develop' into sycl 2020-06-09 04:00:12 -04:00
Peter Boyle 5a73ef3647 Minor tweak to compile 2020-06-05 21:50:15 -04:00