mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-31 12:11:31 +08:00
Move compiler extensions to cl device
Related-To: NEO-4207 Change-Id: Ia220085260fbafb062e0e0aedca863eb64b079bd Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
0a0b1ce1d8
commit
0e3ab96298
@@ -136,10 +136,8 @@ cl_int Program::compile(
|
||||
TranslationInput inputArgs = {IGC::CodeType::elf, IGC::CodeType::undefined};
|
||||
|
||||
// set parameters for compilation
|
||||
auto compilerExtensionsOptions = platform()->peekCompilerExtensions();
|
||||
if (internalOptions.find(compilerExtensionsOptions) == std::string::npos) {
|
||||
CompilerOptions::concatenateAppend(internalOptions, compilerExtensionsOptions);
|
||||
}
|
||||
auto compilerExtensionsOptions = this->pDevice->peekCompilerExtensions();
|
||||
CompilerOptions::concatenateAppend(internalOptions, compilerExtensionsOptions);
|
||||
|
||||
if (isKernelDebugEnabled()) {
|
||||
std::string filename;
|
||||
|
||||
Reference in New Issue
Block a user