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

[ROCm/clr commit: a5c287554e]
Этот коммит содержится в:
Saleel Kudchadker authored and Gerrit Code Review committed 2020-03-27 20:19:40 -04:00
Коммит eba4688437
1 file changed
+3 -1
+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);
}