fix: add option to enable/disable heapless in ocloc

Related-To: GSD-10681
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
Kamil Kopryk
2025-02-21 15:12:49 +00:00
committed by Compute-Runtime-Automation
parent b10c6b4703
commit 7c3468794e
8 changed files with 75 additions and 9 deletions

View File

@@ -155,7 +155,7 @@ std::string ModuleTranslationUnit::generateCompilerOptions(const char *buildOpti
bool isDebuggerActive = neoDevice.getDebugger() != nullptr;
NEO::CompilerOptions::concatenateAppend(internalOptions, compilerProductHelper.getCachingPolicyOptions(isDebuggerActive));
NEO::CompilerOptions::applyExtraInternalOptions(internalOptions, compilerProductHelper);
NEO::CompilerOptions::applyExtraInternalOptions(internalOptions, compilerProductHelper, NEO::CompilerOptions::HeaplessMode::defaultMode);
return internalOptions;
}