fix: initialize debugger before creating engines

Related-To: NEO-12571
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
This commit is contained in:
Jitendra Sharma
2024-09-12 21:10:00 +00:00
committed by Compute-Runtime-Automation
parent dd631610b3
commit f6a89bbc03
10 changed files with 42 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2022-2023 Intel Corporation
* Copyright (C) 2022-2024 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -38,6 +38,7 @@ struct DebuggerClFixture
ASSERT_NE(nullptr, clDevice);
executionEnvironment->rootDeviceEnvironments[rootDeviceIndex]->initDebuggerL0(device);
device->getL0Debugger()->initialize();
this->osContext = device->getDefaultEngine().osContext;
cl_device_id deviceId = clDevice;