mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-22 01:48:50 +08:00
Adding support for passing proper extensions list from cloc to compilers
Change-Id: I89249cd6ccae9996cd33d7ba26007c778207f028
This commit is contained in:
@@ -150,7 +150,7 @@ cl_int Program::compile(
|
||||
TranslationArgs inputArgs = {};
|
||||
|
||||
// set parameters for compilation
|
||||
internalOptions.append(platform()->getCompilerExtensions());
|
||||
internalOptions.append(platform()->peekCompilerExtensions());
|
||||
inputArgs.pInput = pCompileData;
|
||||
inputArgs.InputSize = (uint32_t)compileDataSize;
|
||||
inputArgs.pOptions = options.c_str();
|
||||
|
||||
Reference in New Issue
Block a user