mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01: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
@ -249,7 +249,7 @@ TEST_F(OfflineCompilerTests, TestExtensions) {
|
||||
std::string internalOptions = mockOfflineCompiler->internalOptions;
|
||||
EXPECT_THAT(internalOptions, ::testing::HasSubstr(std::string("cl_khr_3d_image_writes")));
|
||||
|
||||
StackVec<cl_name_version, 12> openclCFeatures;
|
||||
StackVec<cl_name_version, 15> openclCFeatures;
|
||||
getOpenclCFeaturesList(DEFAULT_PLATFORM::hwInfo, openclCFeatures);
|
||||
auto expectedFeaturesOption = convertEnabledOclCFeaturesToCompilerInternalOptions(openclCFeatures);
|
||||
EXPECT_THAT(internalOptions, ::testing::HasSubstr(expectedFeaturesOption));
|
||||
|
Reference in New Issue
Block a user