Check event status before notify

Change-Id: I68f6bbbf236e49b859be2d5afbe0c8282fe15dd3
Esse commit está contido em:
Saleel Kudchadker
2020-03-27 11:32:46 -07:00
commit 178fc17846
+3 -1
Ver Arquivo
@@ -25,7 +25,9 @@
namespace hip {
bool Event::ready() {
event_->notifyCmdQueue();
if (event_->status() != CL_COMPLETE) {
event_->notifyCmdQueue();
}
return (event_->status() == CL_COMPLETE);
}