feature: enable bindless mode in ocloc in L0 on dg2

Before this PR, bindless build option isn't enabled in ocloc by default on dg2.
So aot built program still use bindful kernel.
This PR appends bindless option to ocloc according on releaseHelper config.

Related-To: NEO-7063
Signed-off-by: He, Wenju <wenju.he@intel.com>
This commit is contained in:
He, Wenju
2023-11-24 10:11:49 +00:00
committed by Compute-Runtime-Automation
parent 1a364f5c98
commit c35b13ccae
3 changed files with 33 additions and 1 deletions

View File

@@ -899,6 +899,9 @@ void OfflineCompiler::appendExtraInternalOptions(std::string &internalOptions) {
}
CompilerOptions::concatenateAppend(internalOptions, compilerProductHelper->getCachingPolicyOptions(false));
CompilerOptions::applyExtraInternalOptions(internalOptions, *compilerProductHelper);
if (releaseHelper && !releaseHelper->isBindlessAddressingDisabled()) {
CompilerOptions::concatenateAppend(internalOptions, CompilerOptions::bindlessMode.str());
}
}
void OfflineCompiler::parseDebugSettings() {