Merge "Check event status before notify" into amd-master-next

[ROCm/clr commit: a5c287554e]
Этот коммит содержится в:
Saleel Kudchadker
2020-03-27 20:19:40 -04:00
коммит произвёл Gerrit Code Review
родитель d71bdef595 4abf9f5c38
Коммит eba4688437
+3 -1
Просмотреть файл
@@ -25,7 +25,9 @@
namespace hip {
bool Event::ready() {
event_->notifyCmdQueue();
if (event_->status() != CL_COMPLETE) {
event_->notifyCmdQueue();
}
return (event_->status() == CL_COMPLETE);
}