mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 18:37:46 +08:00
feature: OCL C in L0 runtime - enable compiler extensions
Enables supported OCL C extensions for underlying platforms.. Related-To: GSD-11827 Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
04b6fda9bd
commit
08d5eb2336
@@ -25,6 +25,7 @@
|
||||
#include "shared/source/helpers/addressing_mode_helper.h"
|
||||
#include "shared/source/helpers/aligned_memory.h"
|
||||
#include "shared/source/helpers/api_specific_config.h"
|
||||
#include "shared/source/helpers/compiler_options_parser.h"
|
||||
#include "shared/source/helpers/compiler_product_helper.h"
|
||||
#include "shared/source/helpers/constants.h"
|
||||
#include "shared/source/helpers/file_io.h"
|
||||
@@ -284,6 +285,7 @@ ze_result_t ModuleTranslationUnit::buildFromSource(ze_module_format_t inputForma
|
||||
}
|
||||
|
||||
std::string internalOptions = this->generateCompilerOptions(buildOptions, internalBuildOptions);
|
||||
NEO::appendExtensionsToInternalOptions(neoDevice->getHardwareInfo(), this->options, internalOptions);
|
||||
|
||||
NEO::TranslationInput inputArgs = {IGC::CodeType::oclC, IGC::CodeType::oclGenBin};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user