Merge "Check event status before notify" into amd-master-next
[ROCm/hip commit: 5a8add03a5]
Цей коміт міститься в:
коміт
35e9fa08be
1 file changed
+3
-1
@@ -25,7 +25,9 @@
|
|||||||
namespace hip {
|
namespace hip {
|
||||||
|
|
||||||
bool Event::ready() {
|
bool Event::ready() {
|
||||||
event_->notifyCmdQueue();
|
if (event_->status() != CL_COMPLETE) {
|
||||||
|
event_->notifyCmdQueue();
|
||||||
|
}
|
||||||
|
|
||||||
return (event_->status() == CL_COMPLETE);
|
return (event_->status() == CL_COMPLETE);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Заблокувати користувача