mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Refactor implicit scaling device support
Related-To: NEO-6589 Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
dd63f96836
commit
4238679078
@@ -1441,7 +1441,7 @@ HWTEST_F(CommandStreamReceiverTest, whenCreatingCommandStreamReceiverThenLastAdd
|
||||
|
||||
HWTEST_F(CommandStreamReceiverTest, givenDebugFlagWhenCreatingCsrThenSetEnableStaticPartitioningAccordingly) {
|
||||
DebugManagerStateRestore restore{};
|
||||
VariableBackup<bool> backup(&ImplicitScaling::apiSupport, true);
|
||||
DebugManager.flags.EnableImplicitScaling.set(1);
|
||||
|
||||
{
|
||||
UltDeviceFactory deviceFactory{1, 2};
|
||||
@@ -1636,7 +1636,7 @@ TEST_F(CommandStreamReceiverPageTableManagerTest, givenNonExisitingPageTableMana
|
||||
|
||||
TEST(CreateWorkPartitionAllocationTest, givenDisabledBlitterWhenInitializingWorkPartitionAllocationThenFallbackToCpuCopy) {
|
||||
DebugManagerStateRestore restore{};
|
||||
VariableBackup<bool> backup(&ImplicitScaling::apiSupport, true);
|
||||
DebugManager.flags.EnableImplicitScaling.set(1);
|
||||
|
||||
UltDeviceFactory deviceFactory{1, 2};
|
||||
MockDevice &device = *deviceFactory.rootDevices[0];
|
||||
@@ -1662,7 +1662,7 @@ TEST(CreateWorkPartitionAllocationTest, givenDisabledBlitterWhenInitializingWork
|
||||
|
||||
TEST(CreateWorkPartitionAllocationTest, givenEnabledBlitterWhenInitializingWorkPartitionAllocationThenDontCopyOnCpu) {
|
||||
DebugManagerStateRestore restore{};
|
||||
VariableBackup<bool> backup(&ImplicitScaling::apiSupport, true);
|
||||
DebugManager.flags.EnableImplicitScaling.set(1);
|
||||
VariableBackup<HardwareInfo> backupHwInfo(defaultHwInfo.get());
|
||||
|
||||
defaultHwInfo->capabilityTable.blitterOperationsSupported = true;
|
||||
|
||||
Reference in New Issue
Block a user