mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-19 06:24:51 +08:00
Requires NEOReadDebugKeys=1 Related-To: NEO-16997 Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
19 lines
381 B
C++
19 lines
381 B
C++
/*
|
|
* Copyright (C) 2025 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "shared/source/debug_settings/debug_variables_helper.h"
|
|
#include "shared/source/os_interface/debug_env_reader.h"
|
|
|
|
namespace NEO {
|
|
|
|
bool isDebugKeysReadEnabled() {
|
|
EnvironmentVariableReader envReader;
|
|
return envReader.getSetting("NEOReadDebugKeys", false);
|
|
}
|
|
|
|
} // namespace NEO
|