Update extension name

Resolves: NEO-6831

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
Bartosz Dunajski
2022-03-31 13:50:32 +00:00
committed by Compute-Runtime-Automation
parent 6fee7c9de1
commit e32f624bf4
2 changed files with 3 additions and 3 deletions

View File

@ -152,7 +152,7 @@ void ClDevice::initializeCaps() {
deviceExtensions += "cl_intel_spirv_subgroups "; deviceExtensions += "cl_intel_spirv_subgroups ";
deviceExtensions += "cl_khr_spirv_no_integer_wrap_decoration "; deviceExtensions += "cl_khr_spirv_no_integer_wrap_decoration ";
deviceExtensions += "cl_intel_unified_shared_memory_preview "; deviceExtensions += "cl_intel_unified_shared_memory ";
if (hwInfo.capabilityTable.supportsImages) { if (hwInfo.capabilityTable.supportsImages) {
deviceExtensions += "cl_khr_mipmap_image cl_khr_mipmap_image_writes "; deviceExtensions += "cl_khr_mipmap_image cl_khr_mipmap_image_writes ";
} }

View File

@ -879,7 +879,7 @@ TEST_F(DeviceGetCapsTest, givenAtleastOCL21DeviceThenExposesMipMapAndUnifiedMemo
EXPECT_EQ(std::string::npos, extensionString.find(std::string("cl_khr_mipmap_image"))); EXPECT_EQ(std::string::npos, extensionString.find(std::string("cl_khr_mipmap_image")));
EXPECT_EQ(std::string::npos, extensionString.find(std::string("cl_khr_mipmap_image_writes"))); EXPECT_EQ(std::string::npos, extensionString.find(std::string("cl_khr_mipmap_image_writes")));
} }
EXPECT_TRUE(hasSubstr(caps.deviceExtensions, std::string("cl_intel_unified_shared_memory_preview"))); EXPECT_TRUE(hasSubstr(caps.deviceExtensions, std::string("cl_intel_unified_shared_memory")));
} }
TEST_F(DeviceGetCapsTest, givenSupportImagesWhenCapsAreCreatedThenDeviceReportsMinMapExtensions) { TEST_F(DeviceGetCapsTest, givenSupportImagesWhenCapsAreCreatedThenDeviceReportsMinMapExtensions) {
@ -913,7 +913,7 @@ TEST_F(DeviceGetCapsTest, givenOCL12DeviceThenDoesNotExposesMipMapAndUnifiedMemo
EXPECT_FALSE(hasSubstr(caps.deviceExtensions, std::string("cl_khr_mipmap_image"))); EXPECT_FALSE(hasSubstr(caps.deviceExtensions, std::string("cl_khr_mipmap_image")));
EXPECT_FALSE(hasSubstr(caps.deviceExtensions, std::string("cl_khr_mipmap_image_writes"))); EXPECT_FALSE(hasSubstr(caps.deviceExtensions, std::string("cl_khr_mipmap_image_writes")));
EXPECT_FALSE(hasSubstr(caps.deviceExtensions, std::string("cl_intel_unified_shared_memory_preview"))); EXPECT_FALSE(hasSubstr(caps.deviceExtensions, std::string("cl_intel_unified_shared_memory")));
} }
TEST_F(DeviceGetCapsTest, givenSupportImagesWhenCreateExtentionsListThenDeviceReportsImagesExtensions) { TEST_F(DeviceGetCapsTest, givenSupportImagesWhenCreateExtentionsListThenDeviceReportsImagesExtensions) {