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

[ROCm/hip commit: 5a8add03a5]
Tá an tiomantas seo le fáil i:
Saleel Kudchadker
2020-03-27 20:19:40 -04:00
tiomanta ag Gerrit Code Review
tuismitheoir 511f2d03a2 573d676ef0
tiomantas 35e9fa08be
+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);
}