Check event status before notify

Change-Id: I68f6bbbf236e49b859be2d5afbe0c8282fe15dd3
Этот коммит содержится в:
Saleel Kudchadker
2020-03-27 11:32:46 -07:00
родитель 2b538b09e6
Коммит fa7dea42b5
+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);
}