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:
2025-08-07 15:48:38 +00:00
parent 41f344bbd3
commit 9e6a4a4737
306 changed files with 2013 additions and 1928 deletions
+3 -3
View File
@@ -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;
}