SWDEV-306939 - Fix vdi errors/warnings by CppCheck
Change-Id: I56d910f8363787f1050d5d7e8064ed553c5827fd
[ROCm/clr commit: e20dd61932]
This commit is contained in:
@@ -1149,7 +1149,7 @@ void Resource::wait(VirtualGPU& gpu, bool waitOnBusyEngine) const {
|
||||
// Check if we have to wait unconditionally
|
||||
if (!waitOnBusyEngine ||
|
||||
// or we have to wait only if another engine was used on this resource
|
||||
(waitOnBusyEngine && (gpuEvent->engineId_ != gpu.engineID_))) {
|
||||
(gpuEvent->engineId_ != gpu.engineID_)) {
|
||||
gpu.waitForEvent(gpuEvent);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user