@@ -625,7 +625,7 @@ TEST(Device_GetCaps, deviceReportsThrottleHintsExtension) {
625625 EXPECT_THAT (caps.deviceExtensions , testing::HasSubstr (std::string (" cl_khr_throttle_hints" )));
626626}
627627
628- TEST (Device_GetCaps, givenAtleastOCL2DeviceThenExposesMipmapImageExtensions ) {
628+ TEST (Device_GetCaps, givenAtleastOCL2DeviceThenExposesMipMapAndUnifiedMemoryExtensions ) {
629629 DebugManagerStateRestore dbgRestorer;
630630 DebugManager.flags .ForceOCLVersion .set (20 );
631631
@@ -634,9 +634,10 @@ TEST(Device_GetCaps, givenAtleastOCL2DeviceThenExposesMipmapImageExtensions) {
634634
635635 EXPECT_THAT (caps.deviceExtensions , testing::HasSubstr (std::string (" cl_khr_mipmap_image" )));
636636 EXPECT_THAT (caps.deviceExtensions , testing::HasSubstr (std::string (" cl_khr_mipmap_image_writes" )));
637+ EXPECT_THAT (caps.deviceExtensions , testing::HasSubstr (std::string (" cl_intel_unified_shared_memory" )));
637638}
638639
639- TEST (Device_GetCaps, givenOCL12DeviceThenDoesNotExposeMipmapImageExtensions ) {
640+ TEST (Device_GetCaps, givenOCL12DeviceThenDoesNotExposesMipMapAndUnifiedMemoryExtensions ) {
640641 DebugManagerStateRestore dbgRestorer;
641642 DebugManager.flags .ForceOCLVersion .set (12 );
642643
@@ -645,6 +646,7 @@ TEST(Device_GetCaps, givenOCL12DeviceThenDoesNotExposeMipmapImageExtensions) {
645646
646647 EXPECT_THAT (caps.deviceExtensions , testing::Not (testing::HasSubstr (std::string (" cl_khr_mipmap_image" ))));
647648 EXPECT_THAT (caps.deviceExtensions , testing::Not (testing::HasSubstr (std::string (" cl_khr_mipmap_image_writes" ))));
649+ EXPECT_THAT (caps.deviceExtensions , testing::Not (testing::HasSubstr (std::string (" cl_intel_unified_shared_memory" ))));
648650}
649651
650652TEST (Device_GetCaps, givenDeviceThatDoesntHaveFp64ThenExtensionIsNotReported) {
0 commit comments