Files
compute-runtime/shared/source/debug_settings/linux/debug_variables_helper.cpp
Konstanty Misiak a199ae4d8b Add linux-only switch to enable debug env variables read
Related-To: NEO-4941

Change-Id: I47ebddd5a902f20b79c37e18a49f0bba652fd119
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com>
2020-08-27 08:35:32 +02:00

20 lines
382 B
C++

/*
* Copyright (C) 2020 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