feature: Add cl_khr_spirv_linkonce_odr to supported extensions
Related-To: NEO-8165 Signed-off-by: Andrzej Ratajewski <andrzej.ratajewski@intel.com>
This commit is contained in:
parent
4e464e9d6f
commit
dc0796c2a1
|
@ -541,6 +541,7 @@ TEST_F(DeviceGetCapsTest, givenOpenCLVersion21WhenCapsAreCreatedThenDeviceReport
|
|||
}
|
||||
|
||||
EXPECT_TRUE(hasSubstr(caps.deviceExtensions, std::string("cl_intel_spirv_subgroups")));
|
||||
EXPECT_TRUE(hasSubstr(caps.deviceExtensions, std::string("cl_khr_spirv_linkonce_odr")));
|
||||
EXPECT_TRUE(hasSubstr(caps.deviceExtensions, std::string("cl_khr_spirv_no_integer_wrap_decoration")));
|
||||
}
|
||||
}
|
||||
|
@ -590,6 +591,7 @@ TEST_F(DeviceGetCapsTest, givenOpenCLVersion12WhenCapsAreCreatedThenDeviceDoesnt
|
|||
|
||||
EXPECT_FALSE(hasSubstr(caps.deviceExtensions, std::string("cl_intel_spirv_device_side_avc_motion_estimation")));
|
||||
EXPECT_FALSE(hasSubstr(caps.deviceExtensions, std::string("cl_intel_spirv_subgroups")));
|
||||
EXPECT_FALSE(hasSubstr(caps.deviceExtensions, std::string("cl_khr_spirv_linkonce_odr")));
|
||||
EXPECT_FALSE(hasSubstr(caps.deviceExtensions, std::string("cl_khr_spirv_no_integer_wrap_decoration")));
|
||||
}
|
||||
|
||||
|
|
|
@ -321,6 +321,7 @@ TEST_F(PlatformTest, givenSupportingCl21WhenPlatformSupportsFp64ThenFillMatching
|
|||
}
|
||||
|
||||
EXPECT_TRUE(hasSubstr(compilerExtensions, std::string("cl_intel_spirv_subgroups")));
|
||||
EXPECT_TRUE(hasSubstr(compilerExtensions, std::string("cl_khr_spirv_linkonce_odr")));
|
||||
EXPECT_TRUE(hasSubstr(compilerExtensions, std::string("cl_khr_spirv_no_integer_wrap_decoration")));
|
||||
}
|
||||
|
||||
|
|
|
@ -96,6 +96,7 @@ std::string CompilerProductHelperHw<gfxProduct>::getDeviceExtensions(const Hardw
|
|||
extensions += "cl_intel_spirv_media_block_io ";
|
||||
}
|
||||
extensions += "cl_intel_spirv_subgroups ";
|
||||
extensions += "cl_khr_spirv_linkonce_odr ";
|
||||
extensions += "cl_khr_spirv_no_integer_wrap_decoration ";
|
||||
|
||||
extensions += "cl_intel_unified_shared_memory ";
|
||||
|
|
Loading…
Reference in New Issue