feature: Adding support for scoped debug variables

This allows for limitting debug variables to specific
components.

Related-To: NEO-14473
Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
This commit is contained in:
Chodor, Jaroslaw
2025-04-08 14:43:25 +00:00
committed by Compute-Runtime-Automation
parent 3204411aca
commit 9e14eaaed1
14 changed files with 156 additions and 27 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2019-2023 Intel Corporation
* Copyright (C) 2019-2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -10,6 +10,7 @@
#include "shared/source/debug_settings/debug_settings_manager.h"
#include "shared/source/helpers/file_io.h"
#include "shared/source/utilities/directory.h"
#include "shared/source/utilities/stackvec.h"
#include <map>
@@ -17,6 +18,11 @@ using namespace NEO;
#undef DECLARE_DEBUG_VARIABLE
namespace NEO {
extern std::unique_ptr<SettingsReader> mockSettingsReader;
extern const StackVec<DebugVarPrefix, 4> *validUltPrefixTypesOverride;
} // namespace NEO
class TestDebugFlagsChecker {
public:
static bool isEqual(int32_t returnedValue, bool defaultValue) {