Skip to content

Commit 7271050

Browse files
refactor: remove not needed code
Signed-off-by: Mateusz Jablonski <[email protected]> Source: fafc0e1
1 parent 481434f commit 7271050

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

level_zero/tools/source/debug/debug_session_imp.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -906,17 +906,14 @@ void DebugSessionImp::generateEventsForPendingInterrupts() {
906906
}
907907

908908
void DebugSessionImp::resumeAccidentallyStoppedThreads(const std::vector<EuThread::ThreadId> &threadIds) {
909-
std::vector<ze_device_thread_t> threads[4];
910909
std::vector<EuThread::ThreadId> threadIdsPerDevice[4];
911910

912911
for (auto &threadID : threadIds) {
913-
ze_device_thread_t thread = {static_cast<uint32_t>(threadID.slice), static_cast<uint32_t>(threadID.subslice), static_cast<uint32_t>(threadID.eu), static_cast<uint32_t>(threadID.thread)};
914912
uint32_t deviceIndex = static_cast<uint32_t>(threadID.tileIndex);
915913

916914
UNRECOVERABLE_IF((connectedDevice->getNEODevice()->getNumSubDevices() > 0) &&
917915
(deviceIndex >= connectedDevice->getNEODevice()->getNumSubDevices()));
918916

919-
threads[deviceIndex].push_back(thread);
920917
threadIdsPerDevice[deviceIndex].push_back(threadID);
921918
}
922919

0 commit comments

Comments
 (0)