mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 14:02:58 +08:00
Simplify preemption control on Linux
Change-Id: Ie0896cc8950f7fbb271b710b8bb221eb41ba0445 Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
9e53740130
commit
f5508ed2d7
@@ -16,11 +16,7 @@ GEN10TEST_F(DeviceFactoryLinuxTestCnl, queryWhitelistedPreemptionRegister) {
|
||||
|
||||
bool success = DeviceFactory::getDevices(&hwInfo, numDevices, executionEnvironment);
|
||||
EXPECT_TRUE(success);
|
||||
#if defined(I915_PARAM_HAS_PREEMPTION)
|
||||
EXPECT_TRUE(hwInfo->capabilityTable.whitelistedRegisters.csChicken1_0x2580);
|
||||
#else
|
||||
EXPECT_FALSE(hwInfo->capabilityTable.whitelistedRegisters.csChicken1_0x2580);
|
||||
#endif
|
||||
|
||||
DeviceFactory::releaseDevices();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user