1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-09-20 01:05:38 +01:00
Grid/tests
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
..
core Precision change improvements 2023-02-21 10:52:42 -05:00
debug Tests clean build on HIP 2022-11-16 20:15:51 -05:00
forces Test for DDHMC force term 2022-12-13 08:15:11 -05:00
hmc Tests clean build on HIP 2022-11-16 20:15:51 -05:00
IO Merge pull request #409 from giltirn/feature/dirichlet-gparity-stage 2022-08-31 18:22:50 -04:00
lanczos Tests clean build on HIP 2022-11-16 20:15:51 -05:00
qdpxx Expose Nc as a compile time configure option. 2020-10-07 13:07:00 -04:00
smearing Tests clean build on HIP 2022-11-16 20:15:51 -05:00
solver Precision change improvements 2023-02-21 10:52:42 -05:00
testu01 GLobal edit for QCD namespace removal & NAMESPACE macros 2018-01-15 09:37:58 +00:00
Makefile.am Starting reorg of Blocked lanczos 2017-10-11 10:12:07 +01:00
Test_cayley_even_odd_vec.cc Dirichlet 2022-11-02 20:22:27 -04:00
Test_compressed_lanczos_hot_start.cc Merge branch 'feature/dirichlet' of https://github.com/paboyle/Grid into feature/dirichlet 2022-10-04 17:41:48 -04:00
Test_cshift.cc Coordinate handling GPU friendly. Avoid std::vector 2018-02-24 22:19:28 +00:00
Test_dwf_mixedcg_prec_halfcomms.cc Deprecate half prec comms 2021-09-14 15:06:59 +01:00
Test_dwf_mixedcg_prec.cc Better timing 2022-07-28 11:37:12 -04:00
Test_general_stencil.cc Global edit with change to View usage. autoView() creates a wrapper object that closes the view when scope closes. 2020-06-05 18:52:35 -04:00
Test_gfield_shift.cc Added support for non-periodic gauge field implementations in the random gauge shift performed at the start of the HMC trajectory 2022-09-09 12:47:09 -04:00
Test_innerproduct_norm.cc blocked precision promotion infrastructure upgrade 2020-04-24 06:27:20 -04:00
Test_meson_field.cc Merge branch 'feature/dirichlet' of https://github.com/paboyle/Grid into feature/dirichlet 2022-10-04 17:41:48 -04:00
Test_simd.cc Remove FP16 tests when FP16 is disabled 2022-08-21 17:29:55 +02:00
Test_stencil.cc Dirichlet changes 2022-05-19 16:45:41 -07:00