Check event status before notify

Change-Id: I68f6bbbf236e49b859be2d5afbe0c8282fe15dd3


[ROCm/hip commit: 178fc17846]
Tá an tiomantas seo le fáil i:
Saleel Kudchadker tiomanta 2020-03-27 11:32:46 -07:00
1 tuismitheoir ec09381120
tiomantas 573d676ef0
1 comhad athraithe
+3 -1
+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);
}