2017-12-21 07:45:38 +08:00
|
|
|
/*
|
2025-04-08 22:43:25 +08:00
|
|
|
* Copyright (C) 2019-2025 Intel Corporation
|
2017-12-21 07:45:38 +08:00
|
|
|
*
|
2018-12-13 20:46:32 +08:00
|
|
|
* SPDX-License-Identifier: MIT
|
2017-12-21 07:45:38 +08:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2025-04-08 22:43:25 +08:00
|
|
|
#include "shared/offline_compiler/source/ocloc_reg_path.h"
|
2020-02-24 05:44:01 +08:00
|
|
|
#include "shared/source/debug_settings/debug_settings_manager.h"
|
2025-04-08 22:43:25 +08:00
|
|
|
#include "shared/source/helpers/api_specific_config.h"
|
2020-02-24 05:44:01 +08:00
|
|
|
#include "shared/source/utilities/debug_settings_reader_creator.h"
|
2025-04-08 22:43:25 +08:00
|
|
|
#include "shared/source/utilities/stackvec.h"
|
2017-12-21 07:45:38 +08:00
|
|
|
|
2019-03-26 18:59:46 +08:00
|
|
|
namespace NEO {
|
2017-12-21 07:45:38 +08:00
|
|
|
|
2025-04-08 22:43:25 +08:00
|
|
|
StackVec<const char *, 4> validOclocPrefixes;
|
|
|
|
StackVec<NEO::DebugVarPrefix, 4> validOclocPrefixTypes;
|
|
|
|
|
|
|
|
void translateDebugSettings(DebugVariables &debugVariables) {
|
|
|
|
}
|
|
|
|
|
|
|
|
void ApiSpecificConfig::initPrefixes() {
|
|
|
|
validOclocPrefixes = {"NEO_OCLOC_"};
|
|
|
|
validOclocPrefixTypes = {DebugVarPrefix::neoOcloc};
|
|
|
|
}
|
|
|
|
|
|
|
|
const StackVec<const char *, 4> &ApiSpecificConfig::getPrefixStrings() {
|
|
|
|
return validOclocPrefixes;
|
|
|
|
}
|
|
|
|
|
|
|
|
const StackVec<DebugVarPrefix, 4> &ApiSpecificConfig::getPrefixTypes() {
|
|
|
|
return validOclocPrefixTypes;
|
2017-12-21 07:45:38 +08:00
|
|
|
}
|
|
|
|
|
2025-04-08 22:43:25 +08:00
|
|
|
bool isDebugKeysReadEnabled() {
|
|
|
|
return false;
|
|
|
|
}
|
2017-12-21 07:45:38 +08:00
|
|
|
|
2025-04-08 22:43:25 +08:00
|
|
|
DebugSettingsManager<globalDebugFunctionalityLevel> debugManager(Ocloc::oclocRegPath);
|
2019-03-26 18:59:46 +08:00
|
|
|
} // namespace NEO
|