mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-31 20:13:04 +08:00
Improve ftr/wa flags packing
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
1da896bee0
commit
995cb88bfa
@@ -2151,7 +2151,7 @@ HWCMDTEST_F(IGFX_XE_HP_CORE, MultiEngineQueueHwTests, givenQueueFamilyPropertyWh
|
||||
initPlatform();
|
||||
HardwareInfo localHwInfo = *defaultHwInfo;
|
||||
|
||||
localHwInfo.featureTable.ftrCCSNode = true;
|
||||
localHwInfo.featureTable.flags.ftrCCSNode = true;
|
||||
|
||||
auto device = std::make_unique<MockClDevice>(MockDevice::createWithNewExecutionEnvironment<MockDevice>(&localHwInfo));
|
||||
MockContext context(device.get());
|
||||
|
||||
@@ -1202,7 +1202,7 @@ HWCMDTEST_F(IGFX_XE_HP_CORE, XeHPAndLaterDispatchWalkerBasicTest, whenWalkerPart
|
||||
HWCMDTEST_F(IGFX_XE_HP_CORE, XeHPAndLaterDispatchWalkerBasicTest, whenPipeControlPrecedingPostSyncCommandIsDisabledAndLocalMemoryIsEnabledThenSizeIsProperlyEstimated) {
|
||||
DebugManager.flags.DisablePipeControlPrecedingPostSyncCommand.set(1);
|
||||
auto &hwInfo = *device->getRootDeviceEnvironment().getMutableHardwareInfo();
|
||||
hwInfo.featureTable.ftrLocalMemory = true;
|
||||
hwInfo.featureTable.flags.ftrLocalMemory = true;
|
||||
auto cmdQ = std::make_unique<MockCommandQueueHw<FamilyType>>(context.get(), device.get(), nullptr);
|
||||
|
||||
size_t numPipeControls = MemorySynchronizationCommands<FamilyType>::isPipeControlWArequired(hwInfo) ? 2 : 1;
|
||||
|
||||
@@ -186,7 +186,7 @@ TEST_F(GetCommandQueueFamilyInfoTests, givenQueueFamilySelectedWhenGettingFamily
|
||||
|
||||
HWCMDTEST_F(IGFX_XE_HP_CORE, GetCommandQueueFamilyInfoTests, givenFamilyIdWhenGettingCommandQueueInfoThenCorrectValueIsReturned) {
|
||||
HardwareInfo hwInfo = *defaultHwInfo.get();
|
||||
hwInfo.featureTable.ftrCCSNode = true;
|
||||
hwInfo.featureTable.flags.ftrCCSNode = true;
|
||||
MockClDevice mockClDevice{MockDevice::createWithNewExecutionEnvironment<MockDevice>(&hwInfo, 0)};
|
||||
|
||||
const cl_device_id deviceId = &mockClDevice;
|
||||
@@ -245,7 +245,7 @@ HWCMDTEST_F(IGFX_XE_HP_CORE, MultiEngineQueueHwTests, givenLimitedNumberOfCcsWhe
|
||||
localHwInfo.gtSystemInfo.CCSInfo.IsValid = true;
|
||||
localHwInfo.gtSystemInfo.CCSInfo.NumberOfCCSEnabled = 4;
|
||||
localHwInfo.gtSystemInfo.CCSInfo.Instances.CCSEnableMask = 0b1111;
|
||||
localHwInfo.featureTable.ftrCCSNode = true;
|
||||
localHwInfo.featureTable.flags.ftrCCSNode = true;
|
||||
auto device = std::make_unique<MockClDevice>(MockDevice::createWithNewExecutionEnvironment<MockDevice>(&localHwInfo));
|
||||
MockContext context(device.get());
|
||||
context.contextType = ContextType::CONTEXT_TYPE_UNRESTRICTIVE;
|
||||
|
||||
Reference in New Issue
Block a user