mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 14:02:58 +08:00
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:
committed by
Compute-Runtime-Automation
parent
64c47ff467
commit
5d7250ae6f
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user