diff --git a/Grid/lattice/Lattice_basis.h b/Grid/lattice/Lattice_basis.h index 0928cbd7..9415bd4f 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)); } -#if ( (!defined(GRID_CUDA)) ) +#if ( !(defined(GRID_CUDA) || defined(GRID_HIP)) ) int max_threads = thread_max(); Vector < vobj > Bt(Nm * max_threads); thread_region