mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 15:53:45 +08:00
fix: initialize debugger before creating engines
Related-To: NEO-12571 Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
dd631610b3
commit
f6a89bbc03
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user