mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Update extension name
Resolves: NEO-6831 Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
6fee7c9de1
commit
e32f624bf4
@ -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 ";
|
||||||
}
|
}
|
||||||
|
@ -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) {
|
||||||
|
Reference in New Issue
Block a user