mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 22:43:00 +08:00
Fix debug session thread conversion
- convertToPhysical must be called in polymorphic manner, not on base DebugSession Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
ac01f74924
commit
35a1a3fc2a
@@ -145,7 +145,7 @@ std::vector<EuThread::ThreadId> DebugSession::getSingleThreadsForDevice(uint32_t
|
||||
bool DebugSession::areRequestedThreadsStopped(ze_device_thread_t thread) {
|
||||
auto &hwInfo = connectedDevice->getHwInfo();
|
||||
uint32_t deviceIndex = 0;
|
||||
auto physicalThread = DebugSession::convertToPhysical(thread, deviceIndex);
|
||||
auto physicalThread = convertToPhysical(thread, deviceIndex);
|
||||
auto singleThreads = getSingleThreadsForDevice(deviceIndex, physicalThread, hwInfo);
|
||||
bool requestedThreadsStopped = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user