mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Create DebuggerL0 only when debugging is supported
Related-To: NEO-5239 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
8fdc35bb4b
commit
8aacad1854
@@ -46,7 +46,7 @@ void DriverImp::initialize(ze_result_t *result) {
|
||||
UNRECOVERABLE_IF(nullptr == executionEnvironment);
|
||||
|
||||
if (envVariables.programDebugging) {
|
||||
executionEnvironment->setPerContextMemorySpace();
|
||||
executionEnvironment->setDebuggingEnabled();
|
||||
}
|
||||
|
||||
executionEnvironment->incRefInternal();
|
||||
|
||||
Reference in New Issue
Block a user