Fix chk build error

This commit is contained in:
Jeff Bloomfield 2020-04-20 11:34:07 -07:00
parent 5d2874298e
commit 19cdd6f1e1

View file

@ -63,7 +63,7 @@ namespace Dml
m_readbackHeap = CreateReadbackHeap(m_device.Get(), m_capacity);
}
assert(gsl::narrow_cast<ptrdiff_t>(m_readbackHeap->GetDesc().Width) >= totalSize);
assert(gsl::narrow_cast<ptrdiff_t>(m_readbackHeap->GetDesc().Width) >= size);
}
void ReadbackHeap::ReadbackFromGpu(