mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-19 06:24:51 +08:00
refactor: remove not needed code
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
7e357fd1a4
commit
fafc0e10dc
@@ -906,17 +906,14 @@ void DebugSessionImp::generateEventsForPendingInterrupts() {
|
||||
}
|
||||
|
||||
void DebugSessionImp::resumeAccidentallyStoppedThreads(const std::vector<EuThread::ThreadId> &threadIds) {
|
||||
std::vector<ze_device_thread_t> threads[4];
|
||||
std::vector<EuThread::ThreadId> threadIdsPerDevice[4];
|
||||
|
||||
for (auto &threadID : threadIds) {
|
||||
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)};
|
||||
uint32_t deviceIndex = static_cast<uint32_t>(threadID.tileIndex);
|
||||
|
||||
UNRECOVERABLE_IF((connectedDevice->getNEODevice()->getNumSubDevices() > 0) &&
|
||||
(deviceIndex >= connectedDevice->getNEODevice()->getNumSubDevices()));
|
||||
|
||||
threads[deviceIndex].push_back(thread);
|
||||
threadIdsPerDevice[deviceIndex].push_back(threadID);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user