diff --git a/runtime/os_interface/windows/wddm_memory_manager.cpp b/runtime/os_interface/windows/wddm_memory_manager.cpp index ad9e4d8655..41227d5c86 100644 --- a/runtime/os_interface/windows/wddm_memory_manager.cpp +++ b/runtime/os_interface/windows/wddm_memory_manager.cpp @@ -299,7 +299,10 @@ void WddmMemoryManager::freeGraphicsMemoryImpl(GraphicsAllocation *gfxAllocation releaseResidencyLock(); - UNRECOVERABLE_IF(gfxAllocation->taskCount != ObjectNotUsed && this->csr && this->csr->getTagAddress() && gfxAllocation->taskCount > *this->csr->getTagAddress()); + UNRECOVERABLE_IF(DebugManager.flags.CreateMultipleDevices.get() == 0 && + gfxAllocation->taskCount != ObjectNotUsed && + this->csr && this->csr->getTagAddress() && + gfxAllocation->taskCount > *this->csr->getTagAddress()); if (input->gmm) { if (input->gmm->isRenderCompressed) {