mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-11-03 21:44:33 +00:00 
			
		
		
		
	Accelerator loop the key kernel call
This commit is contained in:
		@@ -334,11 +334,11 @@ void WilsonFermion<Impl>::DhopInternal(StencilImpl &st, LebesgueOrder &lo,
 | 
			
		||||
 | 
			
		||||
  int Opt = WilsonKernelsStatic::Opt;
 | 
			
		||||
  if (dag == DaggerYes) {
 | 
			
		||||
    thread_loop( (int sss = 0; sss < in.Grid()->oSites(); sss++) ,{
 | 
			
		||||
    accelerator_loop( sss,in, {
 | 
			
		||||
      Kernels::DhopSiteDag(Opt,st, lo, U, st.CommBuf(), sss, sss, 1, 1, in, out);
 | 
			
		||||
    });
 | 
			
		||||
  } else {
 | 
			
		||||
    thread_loop( (int sss = 0; sss < in.Grid()->oSites(); sss++) ,{
 | 
			
		||||
    accelerator_loop( sss,in, {
 | 
			
		||||
      Kernels::DhopSite(Opt,st, lo, U, st.CommBuf(), sss, sss, 1, 1, in, out);
 | 
			
		||||
    });
 | 
			
		||||
  }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user