Skip to content

Commit e32f624

Browse files
Update extension name
Resolves: NEO-6831 Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
1 parent 6fee7c9 commit e32f624

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

opencl/source/cl_device/cl_device_caps.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ void ClDevice::initializeCaps() {
152152
deviceExtensions += "cl_intel_spirv_subgroups ";
153153
deviceExtensions += "cl_khr_spirv_no_integer_wrap_decoration ";
154154

155-
deviceExtensions += "cl_intel_unified_shared_memory_preview ";
155+
deviceExtensions += "cl_intel_unified_shared_memory ";
156156
if (hwInfo.capabilityTable.supportsImages) {
157157
deviceExtensions += "cl_khr_mipmap_image cl_khr_mipmap_image_writes ";
158158
}

opencl/test/unit_test/device/device_caps_tests.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,7 @@ TEST_F(DeviceGetCapsTest, givenAtleastOCL21DeviceThenExposesMipMapAndUnifiedMemo
879879
EXPECT_EQ(std::string::npos, extensionString.find(std::string("cl_khr_mipmap_image")));
880880
EXPECT_EQ(std::string::npos, extensionString.find(std::string("cl_khr_mipmap_image_writes")));
881881
}
882-
EXPECT_TRUE(hasSubstr(caps.deviceExtensions, std::string("cl_intel_unified_shared_memory_preview")));
882+
EXPECT_TRUE(hasSubstr(caps.deviceExtensions, std::string("cl_intel_unified_shared_memory")));
883883
}
884884

885885
TEST_F(DeviceGetCapsTest, givenSupportImagesWhenCapsAreCreatedThenDeviceReportsMinMapExtensions) {
@@ -913,7 +913,7 @@ TEST_F(DeviceGetCapsTest, givenOCL12DeviceThenDoesNotExposesMipMapAndUnifiedMemo
913913

914914
EXPECT_FALSE(hasSubstr(caps.deviceExtensions, std::string("cl_khr_mipmap_image")));
915915
EXPECT_FALSE(hasSubstr(caps.deviceExtensions, std::string("cl_khr_mipmap_image_writes")));
916-
EXPECT_FALSE(hasSubstr(caps.deviceExtensions, std::string("cl_intel_unified_shared_memory_preview")));
916+
EXPECT_FALSE(hasSubstr(caps.deviceExtensions, std::string("cl_intel_unified_shared_memory")));
917917
}
918918

919919
TEST_F(DeviceGetCapsTest, givenSupportImagesWhenCreateExtentionsListThenDeviceReportsImagesExtensions) {

0 commit comments

Comments
 (0)