From cd5891eecd45b53db3a02498d97d0bd5e29c67eb Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Thu, 11 Mar 2021 22:34:28 +0100 Subject: [PATCH] Test that fails on Cuda 11.0 --- tests/core/Test_where_extended.cc | 124 ++++++++++++++++-------------- 1 file changed, 65 insertions(+), 59 deletions(-) diff --git a/tests/core/Test_where_extended.cc b/tests/core/Test_where_extended.cc index 706fd7ee..9862b3ed 100644 --- a/tests/core/Test_where_extended.cc +++ b/tests/core/Test_where_extended.cc @@ -51,87 +51,93 @@ int main (int argc, char ** argv) } GridCartesian GRID(latt_size,simd_layout,mpi_layout); - - LatticeComplexD zz(&GRID); - LatticeInteger coor(&GRID); - LatticeComplexD rn(&GRID); - LatticeComplexD sl(&GRID); - - zz = ComplexD(0.0,0.0); - GridParallelRNG RNG(&GRID); RNG.SeedFixedIntegers(std::vector({45,12,81,9})); - gaussian(RNG,rn); - RealD nn=norm2(rn); - for(int mu=0;mu seeds4({1,2,3,4}); - GridParallelRNG RNG4(UGrid); RNG4.SeedFixedIntegers(seeds4); - LatticeInteger lcoor(UGrid); LatticeCoordinate(lcoor,Nd-1); - std::cout<=tmin),tmpF,ZZF); - nA = nA + norm2(tmp2F); - InsertSlice(tmp2F, q_outF, s , 0); + gaussian(RNG,rn); + + RealD nn=norm2(rn); + for(int mu=0;mu=tmin),tmpP,ZZP); - nA = nA + norm2(tmp2P); - InsertSlice(tmp2P, q_outP, s , 0); + zz = ComplexD(0.0,0.0); + + gaussian(RNG,rn); + + RealD nn=norm2(rn); + for(int mu=0;mu