SWDEV-559514 - Add queue validation to submitMarker sync path (#1308)
이 커밋은 다음에 포함됨:
1 파일이 변경됨
+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);
|
||||
|
||||
새 이슈에서 참조
사용자 차단