Merge "Check event status before notify" into amd-master-next
[ROCm/hip commit: 5a8add03a5]
This commit is contained in:
کامیت
35e9fa08be
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