mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 23:56:39 +08:00
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:
committed by
Compute-Runtime-Automation
parent
c9b2138060
commit
e1e0f70348
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user