Check event status before notify
Change-Id: I68f6bbbf236e49b859be2d5afbe0c8282fe15dd3
[ROCm/hip commit: 178fc17846]
Este cometimento está contido em:
1 ascendente
ec09381120
cometimento
573d676ef0
1 ficheiro modificado
+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);
|
||||
}
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador