mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 07:14:10 +08:00
Enable Level Zero on ADLS, RKL
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
9332095bba
commit
47256642c3
@@ -79,7 +79,7 @@ const RuntimeCapabilityTable ADLS::capabilityTable{
|
||||
false, // supportsOnDemandPageFaults
|
||||
false, // supportsIndependentForwardProgress
|
||||
false, // hostPtrTrackingEnabled
|
||||
false, // levelZeroSupported
|
||||
true, // levelZeroSupported
|
||||
true // isIntegratedDevice
|
||||
};
|
||||
|
||||
|
||||
@@ -75,7 +75,7 @@ const RuntimeCapabilityTable RKL::capabilityTable{
|
||||
false, // supportsOnDemandPageFaults
|
||||
false, // supportsIndependentForwardProgress
|
||||
false, // hostPtrTrackingEnabled
|
||||
false, // levelZeroSupported
|
||||
true, // levelZeroSupported
|
||||
true // isIntegratedDevice
|
||||
};
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2020 Intel Corporation
|
||||
* Copyright (C) 2020-2021 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -62,4 +62,9 @@ ADLSTEST_F(AdlsHwInfo, whenPlatformIsAdlsThenExpectSvmIsSet) {
|
||||
EXPECT_TRUE(hardwareInfo.capabilityTable.ftrSvm);
|
||||
}
|
||||
|
||||
ADLSTEST_F(AdlsHwInfo, givenAdlsWhenCheckL0ThenReturnTrue) {
|
||||
const HardwareInfo &hardwareInfo = ADLS::hwInfo;
|
||||
EXPECT_TRUE(hardwareInfo.capabilityTable.levelZeroSupported);
|
||||
}
|
||||
|
||||
HWCMDTEST_EXCLUDE_FAMILY(DeviceFactoryTest, givenValidHwConfigStringPrepareDeviceEnvironmentsForProductFamilyOverrideReturnsTrue, IGFX_ALDERLAKE_S);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2020 Intel Corporation
|
||||
* Copyright (C) 2020-2021 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -72,4 +72,9 @@ RKLTEST_F(RklHwInfo, givenRklWhenCheckFtrSupportsInteger64BitAtomicsThenReturnFa
|
||||
EXPECT_TRUE(hardwareInfo.capabilityTable.ftrSupportsInteger64BitAtomics);
|
||||
}
|
||||
|
||||
RKLTEST_F(RklHwInfo, givenRklWhenCheckL0ThenReturnTrue) {
|
||||
const HardwareInfo &hardwareInfo = RKL::hwInfo;
|
||||
EXPECT_TRUE(hardwareInfo.capabilityTable.levelZeroSupported);
|
||||
}
|
||||
|
||||
HWCMDTEST_EXCLUDE_FAMILY(DeviceFactoryTest, givenValidHwConfigStringPrepareDeviceEnvironmentsForProductFamilyOverrideReturnsTrue, IGFX_ROCKETLAKE);
|
||||
Reference in New Issue
Block a user