mirror of
https://github.com/paboyle/Grid.git
synced 2026-08-29 05:49:35 +01:00
Assertion updates to macros (mostly) with backtrace.
WIlson flow to include options for DBW2, Iwasaki, Symanzik. View logging for data assurance
This commit is contained in:
@@ -10,7 +10,7 @@ class LatticeBase {};
|
||||
/////////////////////////////////////////////////////////////////////////////////////////
|
||||
void accelerator_inline conformable(GridBase *lhs,GridBase *rhs)
|
||||
{
|
||||
assert(lhs == rhs);
|
||||
GRID_ASSERT(lhs == rhs);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
@@ -123,7 +123,7 @@ public:
|
||||
case AcceleratorWrite:
|
||||
case CpuRead:
|
||||
case CpuWrite:
|
||||
ViewLogger::Log(filename, line, 1, mode, &v[0], v.size() * sizeof(v[0]));
|
||||
ViewLogger::LogOpen(filename, line, 1, mode, &v[0], v.size() * sizeof(v[0]));
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -134,7 +134,7 @@ public:
|
||||
case AcceleratorWriteDiscard:
|
||||
case AcceleratorWrite:
|
||||
case CpuWrite:
|
||||
ViewLogger::Log(filename, line, -1, mode, &v[0], v.size() * sizeof(v[0]));
|
||||
ViewLogger::LogClose(filename, line, -1, mode, &v[0], v.size() * sizeof(v[0]));
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user