mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
refactor: add applyExtraInternalOptions function
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
bcc5a8502b
commit
73bb139e17
@@ -8,6 +8,7 @@
|
||||
#include "level_zero/core/source/module/module_imp.h"
|
||||
|
||||
#include "shared/source/compiler_interface/compiler_options.h"
|
||||
#include "shared/source/compiler_interface/compiler_options_extra.h"
|
||||
#include "shared/source/compiler_interface/compiler_warnings/compiler_warnings.h"
|
||||
#include "shared/source/compiler_interface/external_functions.h"
|
||||
#include "shared/source/compiler_interface/intermediate_representations.h"
|
||||
@@ -150,6 +151,8 @@ std::string ModuleTranslationUnit::generateCompilerOptions(const char *buildOpti
|
||||
}
|
||||
bool isDebuggerActive = neoDevice.getDebugger() != nullptr;
|
||||
NEO::CompilerOptions::concatenateAppend(internalOptions, compilerProductHelper.getCachingPolicyOptions(isDebuggerActive));
|
||||
|
||||
NEO::CompilerOptions::applyExtraInternalOptions(internalOptions, compilerProductHelper);
|
||||
return internalOptions;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user