Revert "Report device IP version extension as supported"

This reverts commit a004b9092f.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
Compute-Runtime-Validation
2023-03-11 23:04:37 +01:00
committed by Compute-Runtime-Automation
parent c9b2138060
commit e1e0f70348
2 changed files with 0 additions and 11 deletions

View File

@@ -111,7 +111,6 @@ struct DriverHandleImp : public DriverHandle {
{ZE_RAYTRACING_EXT_NAME, ZE_RAYTRACING_EXT_VERSION_CURRENT},
{ZE_CONTEXT_POWER_SAVING_HINT_EXP_NAME, ZE_POWER_SAVING_HINT_EXP_VERSION_CURRENT},
{ZE_DEVICE_LUID_EXT_NAME, ZE_DEVICE_LUID_EXT_VERSION_CURRENT},
{ZE_DEVICE_IP_VERSION_EXT_NAME, ZE_DEVICE_IP_VERSION_VERSION_CURRENT},
{ZE_CACHE_RESERVATION_EXT_NAME, ZE_CACHE_RESERVATION_EXT_VERSION_CURRENT}};
uint64_t uuidTimestamp = 0u;

View File

@@ -34,10 +34,6 @@
namespace L0 {
namespace ult {
template <typename EqComparableT>
static auto findExtensionName(const EqComparableT &lhs) {
return [&lhs](const auto &rhs) { return lhs == rhs.first; };
}
TEST(zeInit, whenCallingZeInitThenInitializeOnDriverIsCalled) {
Mock<Driver> driver;
@@ -74,12 +70,6 @@ TEST_F(DriverHandleImpTest, givenDriverImpWhenCallingupdateRootDeviceBitFieldsTh
}
using DriverVersionTest = Test<DeviceFixture>;
TEST_F(DriverVersionTest, givenSupportedExtensionsWhenCheckIfDeviceIpVersionIsSupportedThenCorrectResultsAreReturned) {
auto &supportedExt = driverHandle->extensionsSupported;
auto it = std::find_if(supportedExt.begin(), supportedExt.end(), findExtensionName(ZE_DEVICE_IP_VERSION_EXT_NAME));
EXPECT_NE(it, supportedExt.end());
EXPECT_EQ(it->second, ZE_DEVICE_IP_VERSION_VERSION_CURRENT);
}
TEST_F(DriverVersionTest, givenCallToGetExtensionPropertiesThenSupportedExtensionsAreReturned) {
uint32_t count = 0;