@@ -625,7 +625,7 @@ TEST(Device_GetCaps, deviceReportsThrottleHintsExtension) {
625
625
EXPECT_THAT (caps.deviceExtensions , testing::HasSubstr (std::string (" cl_khr_throttle_hints" )));
626
626
}
627
627
628
- TEST (Device_GetCaps, givenAtleastOCL2DeviceThenExposesMipmapImageExtensions ) {
628
+ TEST (Device_GetCaps, givenAtleastOCL2DeviceThenExposesMipMapAndUnifiedMemoryExtensions ) {
629
629
DebugManagerStateRestore dbgRestorer;
630
630
DebugManager.flags .ForceOCLVersion .set (20 );
631
631
@@ -634,9 +634,10 @@ TEST(Device_GetCaps, givenAtleastOCL2DeviceThenExposesMipmapImageExtensions) {
634
634
635
635
EXPECT_THAT (caps.deviceExtensions , testing::HasSubstr (std::string (" cl_khr_mipmap_image" )));
636
636
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" )));
637
638
}
638
639
639
- TEST (Device_GetCaps, givenOCL12DeviceThenDoesNotExposeMipmapImageExtensions ) {
640
+ TEST (Device_GetCaps, givenOCL12DeviceThenDoesNotExposesMipMapAndUnifiedMemoryExtensions ) {
640
641
DebugManagerStateRestore dbgRestorer;
641
642
DebugManager.flags .ForceOCLVersion .set (12 );
642
643
@@ -645,6 +646,7 @@ TEST(Device_GetCaps, givenOCL12DeviceThenDoesNotExposeMipmapImageExtensions) {
645
646
646
647
EXPECT_THAT (caps.deviceExtensions , testing::Not (testing::HasSubstr (std::string (" cl_khr_mipmap_image" ))));
647
648
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" ))));
648
650
}
649
651
650
652
TEST (Device_GetCaps, givenDeviceThatDoesntHaveFp64ThenExtensionIsNotReported) {
0 commit comments