mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 14:02:58 +08:00
feature: Add debug/release variable prefixes
Resolves: NEO-6357 Signed-off-by: John Falkowski <john.falkowski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
6fca8ee195
commit
ec95d9314a
@@ -10,7 +10,12 @@
|
||||
|
||||
#include "level_zero/core/source/compiler_interface/l0_reg_path.h"
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
namespace NEO {
|
||||
std::vector<const char *> validL0Prefixes;
|
||||
std::vector<NEO::DebugVarPrefix> validL0PrefixTypes;
|
||||
bool ApiSpecificConfig::isStatelessCompressionSupported() {
|
||||
return false;
|
||||
}
|
||||
@@ -51,4 +56,20 @@ const char *ApiSpecificConfig::getRegistryPath() {
|
||||
return L0::registryPath;
|
||||
}
|
||||
|
||||
void ApiSpecificConfig::initPrefixes() {
|
||||
validL0Prefixes.push_back("NEO_L0_");
|
||||
validL0Prefixes.push_back("NEO_");
|
||||
validL0Prefixes.push_back("");
|
||||
validL0PrefixTypes.push_back(DebugVarPrefix::Neo_L0);
|
||||
validL0PrefixTypes.push_back(DebugVarPrefix::Neo);
|
||||
validL0PrefixTypes.push_back(DebugVarPrefix::None);
|
||||
}
|
||||
|
||||
const std::vector<const char *> &ApiSpecificConfig::getPrefixStrings() {
|
||||
return validL0Prefixes;
|
||||
}
|
||||
|
||||
const std::vector<DebugVarPrefix> &ApiSpecificConfig::getPrefixTypes() {
|
||||
return validL0PrefixTypes;
|
||||
}
|
||||
} // namespace NEO
|
||||
|
||||
Reference in New Issue
Block a user