Merge "Check event status before notify" into amd-master-next
[ROCm/clr commit: a5c287554e]
Этот коммит содержится в:
Коммит
eba4688437
1 file changed
+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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user