mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 15:53:45 +08:00
Add new feature macros
New feature macros are: __opencl_c_images __opencl_c_fp64 __opencl_c_int64 Change-Id: Ibe4b01ea9799db1f201dc379a37cb661754795db Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
933bb45dcc
commit
f3e9e943a3
@@ -558,7 +558,7 @@ int OfflineCompiler::parseCommandLine(size_t numArgs, const std::vector<std::str
|
||||
std::string extensionsList = getExtensionsList(hwInfo);
|
||||
CompilerOptions::concatenateAppend(internalOptions, convertEnabledExtensionsToCompilerInternalOptions(extensionsList.c_str()));
|
||||
|
||||
StackVec<cl_name_version, 12> openclCFeatures;
|
||||
StackVec<cl_name_version, 15> openclCFeatures;
|
||||
getOpenclCFeaturesList(hwInfo, openclCFeatures);
|
||||
CompilerOptions::concatenateAppend(internalOptions, convertEnabledOclCFeaturesToCompilerInternalOptions(openclCFeatures));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user