mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-09 23:45:36 +00:00
Extra hardware test hook
This commit is contained in:
parent
2704b82084
commit
95f3d69cf9
@ -286,9 +286,10 @@ template<class vobj>
|
||||
inline ComplexD innerProduct(const Lattice<vobj> &left,const Lattice<vobj> &right) {
|
||||
GridBase *grid = left.Grid();
|
||||
ComplexD nrm = rankInnerProduct(left,right);
|
||||
// GridNormLog(real(nrm)); // Could log before and after global sum to distinguish local and MPI
|
||||
RealD local = real(nrm);
|
||||
GridNormLog(real(nrm)); // Could log before and after global sum to distinguish local and MPI
|
||||
grid->GlobalSum(nrm);
|
||||
// GridNormLog(real(nrm));
|
||||
GridMPINormLog(local,real(nrm));
|
||||
return nrm;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user