From e9f0c0ea3966f79cad70153893383b642831708c Mon Sep 17 00:00:00 2001 From: Azusa Yamaguchi Date: Mon, 12 Dec 2016 09:07:38 +0000 Subject: [PATCH] Staggered kernels options --- lib/Init.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/Init.cc b/lib/Init.cc index d6d6b9f8..c1bc4b4a 100644 --- a/lib/Init.cc +++ b/lib/Init.cc @@ -324,12 +324,15 @@ void Grid_init(int *argc,char ***argv) } if( GridCmdOptionExists(*argv,*argv+*argc,"--dslash-unroll") ){ QCD::WilsonKernelsStatic::Opt=QCD::WilsonKernelsStatic::OptHandUnroll; + QCD::StaggeredKernelsStatic::Opt=QCD::StaggeredKernelsStatic::OptHandUnroll; } if( GridCmdOptionExists(*argv,*argv+*argc,"--dslash-asm") ){ QCD::WilsonKernelsStatic::Opt=QCD::WilsonKernelsStatic::OptInlineAsm; + QCD::StaggeredKernelsStatic::Opt=QCD::StaggeredKernelsStatic::OptInlineAsm; } if( GridCmdOptionExists(*argv,*argv+*argc,"--dslash-generic") ){ QCD::WilsonKernelsStatic::Opt=QCD::WilsonKernelsStatic::OptGeneric; + QCD::StaggeredKernelsStatic::Opt=QCD::StaggeredKernelsStatic::OptGeneric; } if( GridCmdOptionExists(*argv,*argv+*argc,"--lebesgue") ){ LebesgueOrder::UseLebesgueOrder=1;