SWDEV-536226 - Avoid waiting for lastCommand completion if GPU has already reported an error otherwise it causes hang due to status of cmd is not becoming CL_COMPLETE. (#478)
[ROCm/clr commit: a60212b9b4]
Bu işleme şunda yer alıyor:
işlemeyi yapan:
GitHub
ebeveyn
e8988efb74
işleme
821a1d89b0
@@ -79,7 +79,9 @@ bool HostQueue::terminate() {
|
||||
lastCommand = command;
|
||||
}
|
||||
}
|
||||
lastCommand->awaitCompletion();
|
||||
if (device_.gpu_error_ == CL_SUCCESS) {
|
||||
lastCommand->awaitCompletion();
|
||||
}
|
||||
// Note that if lastCommand isn't a marker, it may not be lastEnqueueCommand_ now
|
||||
// after lastCommand->awaitCompletion() is called.
|
||||
if (lastEnqueueCommand_ != nullptr) {
|
||||
|
||||
Yeni konuda referans
Bir kullanıcı engelle