1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-07-19 14:17:07 +01:00

Preparing for close of feature/dirichlet

Initial code change review complete
This commit is contained in:
Peter Boyle
2023-03-28 13:39:44 -07:00
parent 5068413cdb
commit 6af97069b9
22 changed files with 8 additions and 49 deletions

View File

@@ -463,11 +463,7 @@ void WilsonKernels<Impl>::DhopKernel(int Opt,StencilImpl &st, DoubledGaugeField
if( interior && exterior ) {
if (Opt == WilsonKernelsStatic::OptGeneric ) { KERNEL_CALL(GenericDhopSite); return;}
#ifdef SYCL_HACK
if (Opt == WilsonKernelsStatic::OptHandUnroll ) { KERNEL_CALL(HandDhopSiteSycl); return; }
#else
if (Opt == WilsonKernelsStatic::OptHandUnroll ) { KERNEL_CALL(HandDhopSite); return;}
#endif
#ifndef GRID_CUDA
if (Opt == WilsonKernelsStatic::OptInlineAsm ) { ASM_CALL(AsmDhopSite); return;}
#endif

View File

@@ -1 +0,0 @@
../CayleyFermion5DInstantiation.cc.master

View File

@@ -1 +0,0 @@
../ContinuedFractionFermion5DInstantiation.cc.master

View File

@@ -1 +0,0 @@
../DomainWallEOFAFermionInstantiation.cc.master

View File

@@ -1 +0,0 @@
../MobiusEOFAFermionInstantiation.cc.master

View File

@@ -1 +0,0 @@
../PartialFractionFermion5DInstantiation.cc.master

View File

@@ -1 +0,0 @@
../WilsonCloverFermionInstantiation.cc.master

View File

@@ -1 +0,0 @@
../WilsonFermion5DInstantiation.cc.master

View File

@@ -1 +0,0 @@
../WilsonFermionInstantiation.cc.master

View File

@@ -1 +0,0 @@
../WilsonKernelsInstantiation.cc.master

View File

@@ -1 +0,0 @@
../WilsonTMFermionInstantiation.cc.master

View File

@@ -1 +0,0 @@
#define IMPLEMENTATION WilsonImplD2

View File

@@ -1 +0,0 @@
../CayleyFermion5DInstantiation.cc.master

View File

@@ -1 +0,0 @@
../ContinuedFractionFermion5DInstantiation.cc.master

View File

@@ -1 +0,0 @@
../DomainWallEOFAFermionInstantiation.cc.master

View File

@@ -1 +0,0 @@
../MobiusEOFAFermionInstantiation.cc.master

View File

@@ -1 +0,0 @@
../PartialFractionFermion5DInstantiation.cc.master

View File

@@ -1 +0,0 @@
../WilsonFermion5DInstantiation.cc.master

View File

@@ -1 +0,0 @@
../WilsonKernelsInstantiation.cc.master

View File

@@ -1 +0,0 @@
#define IMPLEMENTATION ZWilsonImplD2

View File

@@ -112,40 +112,27 @@ NAMESPACE_BEGIN(Grid);
// NumOp == V
// DenOp == M
//
AUDIT();
FermionField etaOdd (NumOp.FermionRedBlackGrid());
FermionField etaEven(NumOp.FermionRedBlackGrid());
FermionField tmp (NumOp.FermionRedBlackGrid());
AUDIT();
pickCheckerboard(Even,etaEven,eta);
AUDIT();
pickCheckerboard(Odd,etaOdd,eta);
AUDIT();
NumOp.ImportGauge(U);
AUDIT();
DenOp.ImportGauge(U);
std::cout << " TwoFlavourRefresh: Imported gauge "<<std::endl;
AUDIT();
SchurDifferentiableOperator<Impl> Mpc(DenOp);
AUDIT();
SchurDifferentiableOperator<Impl> Vpc(NumOp);
AUDIT();
std::cout << " TwoFlavourRefresh: Diff ops "<<std::endl;
AUDIT();
// Odd det factors
Mpc.MpcDag(etaOdd,PhiOdd);
AUDIT();
std::cout << " TwoFlavourRefresh: MpcDag "<<std::endl;
tmp=Zero();
AUDIT();
std::cout << " TwoFlavourRefresh: Zero() guess "<<std::endl;
AUDIT();
HeatbathSolver(Vpc,PhiOdd,tmp);
AUDIT();
std::cout << " TwoFlavourRefresh: Heatbath solver "<<std::endl;
Vpc.Mpc(tmp,PhiOdd);
std::cout << " TwoFlavourRefresh: Mpc "<<std::endl;