mirror of
https://github.com/paboyle/Grid.git
synced 2026-08-28 05:19:35 +01:00
assert for forbidden code path and fix check for faster CPU codepath in basisRotate
This commit is contained in:
@@ -100,6 +100,7 @@ const lobj & eval(const uint64_t ss, const LatticeView<lobj> &arg)
|
||||
template <class lobj> accelerator_inline
|
||||
const lobj & eval(const uint64_t ss, const Lattice<lobj> &arg)
|
||||
{
|
||||
assert(0);
|
||||
auto view = arg.View(AcceleratorRead);
|
||||
return view[ss];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user