SWDEV-558849 - keep the lastEnqueueCommand_ when PAL backend is enabled (#2320)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
c2c4d4c1f5
Коммит
49b8900158
@@ -220,7 +220,7 @@ void HostQueue::finish(bool cpu_wait) {
|
||||
// Under Windows runtime can't destroy objects in the callback thread.
|
||||
// Also runtime should force interrupt before any destroy. Hence, if it was just gpu wait,
|
||||
// then keep the lastEnqueueCommand_ for the interrupt handling.
|
||||
if (IS_LINUX || cpu_wait) {
|
||||
if (IS_LINUX || cpu_wait || GPU_ENABLE_PAL != 0) {
|
||||
lastEnqueueCommand_->release();
|
||||
lastEnqueueCommand_ = nullptr;
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user