mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-27 07:44:16 +08:00
Adding support for debug variables translation
Additionally, adding flag to override gdi Change-Id: I52759aa8c5f1149a34167429289d3f3876cdcb92
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
#include "runtime/helpers/string.h"
|
||||
#include "runtime/helpers/timestamp_packet.h"
|
||||
#include "runtime/utilities/debug_settings_reader_creator.h"
|
||||
#include "runtime/os_interface/definitions/translate_debug_settings.h"
|
||||
|
||||
#include "CL/cl.h"
|
||||
|
||||
@@ -32,7 +33,7 @@ DebugSettingsManager<DebugLevel>::DebugSettingsManager() {
|
||||
readerImpl = SettingsReaderCreator::create();
|
||||
injectSettingsFromReader();
|
||||
}
|
||||
|
||||
translateDebugSettings(flags);
|
||||
std::remove(logFileName.c_str());
|
||||
}
|
||||
|
||||
@@ -260,6 +261,7 @@ void DebugSettingsManager<DebugLevel>::injectSettingsFromReader() {
|
||||
flags.variableName.set(tempData); \
|
||||
}
|
||||
#include "debug_variables.inl"
|
||||
#undef DECLARE_DEBUG_VARIABLE
|
||||
}
|
||||
|
||||
template <DebugFunctionalityLevel DebugLevel>
|
||||
|
||||
Reference in New Issue
Block a user