SWDEV-525593, SWDEV-527293 - Acquire active queue after xferQueue is created (#165)

For xferQueue VirtualGPU::create is called after ProfilingBegin
so the active queue needs to be acquired.

[ROCm/clr commit: d3fb8eda8b]
This commit is contained in:
Assiouras, Ioannis
2025-04-30 09:21:11 +01:00
committed by GitHub
parent e4a499f22e
commit 4efd624960
2 changed files with 4 additions and 0 deletions
@@ -2834,6 +2834,9 @@ VirtualGPU* Device::xferQueue() const {
LogError("Couldn't create the device transfer manager!");
return nullptr;
}
if (xferQueue_->gpu_queue() == nullptr) {
xferQueue_->set_gpu_queue(thisDevice->AcquireActiveNormalQueue());
}
}
xferQueue_->enableSyncBlit();
return xferQueue_;