diff --git a/Grid/lattice/Lattice_ET.h b/Grid/lattice/Lattice_ET.h index 91b456d9..4407be04 100644 --- a/Grid/lattice/Lattice_ET.h +++ b/Grid/lattice/Lattice_ET.h @@ -100,6 +100,7 @@ const lobj & eval(const uint64_t ss, const LatticeView &arg) template accelerator_inline const lobj & eval(const uint64_t ss, const Lattice &arg) { + assert(0); auto view = arg.View(AcceleratorRead); return view[ss]; } diff --git a/Grid/lattice/Lattice_basis.h b/Grid/lattice/Lattice_basis.h index b930e018..af9d7280 100644 --- a/Grid/lattice/Lattice_basis.h +++ b/Grid/lattice/Lattice_basis.h @@ -62,7 +62,7 @@ void basisRotate(VField &basis,Matrix& Qt,int j0, int j1, int k0,int k1,int Nm) basis_v.push_back(basis[k].View(AcceleratorWrite)); } -#ifdef GRID_OMP +#if ( (!defined(GRID_SYCL)) && (!defined(GRID_CUDA)) && (!defined(GRID_HIP)) ) int max_threads = thread_max(); Vector < vobj > Bt(Nm * max_threads); thread_region