SWDEV-559514 - Add queue validation to submitMarker sync path (#1308)

Этот коммит содержится в:
Pengda Xie
2025-11-08 02:21:36 -08:00
коммит произвёл GitHub
родитель f7ffcd1402
Коммит 5dd15e22ca
+3
Просмотреть файл
@@ -3912,6 +3912,9 @@ void VirtualGPU::submitMarker(amd::Marker& vcmd) {
if (vcmd.CpuWaitRequested()) {
// It should be safe to call flush directly if there are not pending dispatches without
// HSA signal callback
if (gpu_queue_ == nullptr) {
gpu_queue_ = roc_device_.AcquireActiveNormalQueue();
}
flush(vcmd.GetBatchHead());
} else {
profilingBegin(vcmd);