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:
Mateusz Hoppe
2022-04-28 16:42:07 +00:00
committed by Compute-Runtime-Automation
parent ac01f74924
commit 35a1a3fc2a

View File

@@ -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;