mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-27 15:53:13 +08:00
fix: Remove stopped Threads query
Related-to: NEO-12929 Signed-off-by: Brandon Yates <brandon.yates@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
89212bdc63
commit
6de2f1a9c9
@@ -7,6 +7,7 @@
|
||||
|
||||
#include "level_zero/tools/source/debug/debug_session.h"
|
||||
|
||||
#include "shared/source/execution_environment/root_device_environment.h"
|
||||
#include "shared/source/gmm_helper/gmm_helper.h"
|
||||
#include "shared/source/helpers/aligned_memory.h"
|
||||
#include "shared/source/helpers/basic_math.h"
|
||||
@@ -228,8 +229,9 @@ void DebugSessionLinux::checkStoppedThreadsAndGenerateEvents(const std::vector<E
|
||||
std::vector<EuThread::ThreadId> threadsWithAttention;
|
||||
std::vector<EuThread::ThreadId> stoppedThreadsToReport;
|
||||
NEO::sleep(std::chrono::microseconds(1));
|
||||
auto &l0GfxCoreHelper = connectedDevice->getNEODevice()->getRootDeviceEnvironment().getHelper<L0GfxCoreHelper>();
|
||||
|
||||
if (threads.size() > 1) {
|
||||
if (threads.size() > 1 && l0GfxCoreHelper.isThreadControlStoppedSupported()) {
|
||||
auto hwInfo = connectedDevice->getHwInfo();
|
||||
auto &l0GfxCoreHelper = connectedDevice->getL0GfxCoreHelper();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user