mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-27 07:44:16 +08:00
refactor: change debugging enabled to debugging mode
Related-To: NEO-7630 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
db719b2acb
commit
e62c5e25d5
@@ -89,9 +89,9 @@ cl_int CL_API_CALL clGetPlatformIDs(cl_uint numEntries,
|
||||
|
||||
NEO::EnvironmentVariableReader envReader;
|
||||
if (NEO::DebugManager.flags.ExperimentalEnableL0DebuggerForOpenCL.get()) {
|
||||
auto programDebugging = envReader.getSetting("ZET_ENABLE_PROGRAM_DEBUGGING", false);
|
||||
if (programDebugging) {
|
||||
executionEnvironment->setDebuggingEnabled();
|
||||
auto programDebugging = envReader.getSetting("ZET_ENABLE_PROGRAM_DEBUGGING", 0);
|
||||
if (programDebugging != 0) {
|
||||
executionEnvironment->setDebuggingMode(NEO::DebuggingMode::Enabled);
|
||||
}
|
||||
}
|
||||
if (envReader.getSetting("NEO_FP64_EMULATION", false)) {
|
||||
|
||||
Reference in New Issue
Block a user