mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
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:
committed by
Compute-Runtime-Automation
parent
3204411aca
commit
9e14eaaed1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user