fix(zebin): fix deadlock in detach tile debug session

With Zebin enabled lock was called
by a thread that already owns the mutex.
This lock is not needed as it's already locked
under another mutex in debuchDetach

Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
Kamil Kopryk 2022-12-29 18:18:23 +00:00 committed by Compute-Runtime-Automation
parent 52c7c96635
commit 08e9fce536
1 changed files with 0 additions and 1 deletions

View File

@ -322,7 +322,6 @@ DebugSession *DebugSessionImp::attachTileDebugSession(Device *device) {
}
void DebugSessionImp::detachTileDebugSession(DebugSession *tileSession) {
std::unique_lock<std::mutex> lock(asyncThreadMutex);
uint32_t subDeviceIndex = Math::log2(static_cast<uint32_t>(tileSession->getConnectedDevice()->getNEODevice()->getDeviceBitfield().to_ulong()));