Check event status before notify

Change-Id: I68f6bbbf236e49b859be2d5afbe0c8282fe15dd3


[ROCm/clr commit: fa7dea42b5]
Tá an tiomantas seo le fáil i:
Saleel Kudchadker
2020-03-27 11:32:46 -07:00
tuismitheoir 96dad9615a
tiomantas 4abf9f5c38
+3 -1
Féach ar an gComhad
@@ -25,7 +25,9 @@
namespace hip {
bool Event::ready() {
event_->notifyCmdQueue();
if (event_->status() != CL_COMPLETE) {
event_->notifyCmdQueue();
}
return (event_->status() == CL_COMPLETE);
}