P4 to Git Change 1392885 by gandryey@gera-w8 on 2017/03/30 17:28:48
SWDEV-115408 - [Vega10] IB size mismatch in OCL submissions - Incorrect result for OS event wait was causing this issue, because runtime could overwrite an incomplete IB. A workaround is to check TS value after a wait returned a successful code Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#18 edit ... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#266 edit
This commit is contained in:
1 förälder
37f3408aef
incheckning
39290bb733
2 files changed
+10
No files matched your search
@@ -106,6 +106,14 @@ public:
|
||||
}
|
||||
result = iDev_->WaitForFences(1, &iCmdFences_[cbId], true, WaitTimeoutInNsec);
|
||||
if (Pal::Result::Success == result) {
|
||||
// Note: This is a workaround for a timing sensitive issue when OS event
|
||||
// succeeded without the actual GPU operation completion.
|
||||
// The issue occurs under heavy GPU load with more than 1 OCL app running and
|
||||
// HWS enabled under Win10
|
||||
while (GPU_PAL_FENCE_VALIDATION &&
|
||||
(Pal::Result::Success != iCmdFences_[cbId]->GetStatus())) {
|
||||
amd::Os::yield();
|
||||
}
|
||||
break;
|
||||
}
|
||||
else if ((Pal::Result::NotReady == result) ||
|
||||
|
||||
Reference in new issue
Block a user