fix: return false for allocInUse when gpu hang detected

Related-To: NEO-16105

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
Szymon Morek
2025-09-16 12:25:41 +00:00
committed by Compute-Runtime-Automation
parent 64c47ff467
commit 5d7250ae6f
4 changed files with 28 additions and 4 deletions

View File

@@ -154,7 +154,7 @@ class MockMemoryManager : public MemoryManagerCreate<OsAgnosticMemoryManager> {
OsAgnosticMemoryManager::unlockResourceImpl(gfxAllocation);
}
bool allocInUse(GraphicsAllocation &graphicsAllocation) const override {
bool allocInUse(GraphicsAllocation &graphicsAllocation) override {
allocInUseCalled++;
if (callBaseAllocInUse) {