mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 05:56:36 +08:00
Move DG1 ULT into proper place
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
73f687c264
commit
f5998b15fc
@@ -14,3 +14,4 @@ HWTEST_EXCLUDE_PRODUCT(HwInfoConfigTest, givenHwInfoConfigWhenAskedIfImagePitchA
|
||||
HWTEST_EXCLUDE_PRODUCT(HwInfoConfigTest, givenHwInfoConfigWhenAskedIfForceEmuInt32DivRemSPWAIsRequiredThenFalseIsReturned, IGFX_DG1);
|
||||
HWTEST_EXCLUDE_PRODUCT(HwInfoConfigTest, givenHwInfoConfigWhenAskedIf3DPipelineSelectWAIsRequiredThenFalseIsReturned, IGFX_DG1);
|
||||
HWTEST_EXCLUDE_PRODUCT(HwInfoConfigTest, givenHwInfoConfigWhenAskedIfStorageInfoAdjustmentIsRequiredThenFalseIsReturned, IGFX_DG1);
|
||||
HWTEST_EXCLUDE_PRODUCT(HwInfoConfigTest, whenOverrideGfxPartitionLayoutForWslThenReturnFalse, IGFX_DG1);
|
||||
|
||||
@@ -6,12 +6,10 @@
|
||||
*/
|
||||
|
||||
#include "shared/source/helpers/hw_info.h"
|
||||
#include "shared/source/os_interface/hw_info_config.h"
|
||||
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
||||
#include "shared/test/common/helpers/default_hw_info.h"
|
||||
|
||||
#include "opencl/test/unit_test/helpers/gtest_helpers.h"
|
||||
#include "opencl/test/unit_test/os_interface/hw_info_config_tests.h"
|
||||
#include "test.h"
|
||||
using namespace NEO;
|
||||
|
||||
@@ -29,13 +27,4 @@ TYPED_TEST(Dg1HwInfoTests, WhenSetupHardwareInfoWithSetupFeatureTableFlagTrueOrF
|
||||
EXPECT_FALSE(featureTable.flags.ftrLocalMemory);
|
||||
TypeParam::setupHardwareInfo(&hwInfo, true);
|
||||
EXPECT_TRUE(featureTable.flags.ftrLocalMemory);
|
||||
}
|
||||
|
||||
HWTEST_EXCLUDE_PRODUCT(HwInfoConfigTest, whenOverrideGfxPartitionLayoutForWslThenReturnFalse, IGFX_DG1);
|
||||
|
||||
using HwInfoConfigTestDG1 = HwInfoConfigTest;
|
||||
|
||||
DG1TEST_F(HwInfoConfigTestDG1, whenOverrideGfxPartitionLayoutForWslThenReturnTrue) {
|
||||
auto hwInfoConfig = HwInfoConfig::get(pInHwInfo.platform.eProductFamily);
|
||||
EXPECT_TRUE(hwInfoConfig->overrideGfxPartitionLayoutForWsl());
|
||||
}
|
||||
@@ -129,4 +129,9 @@ DG1TEST_F(Dg1HwInfo, whenConfigureHwInfoThenBlitterSupportIsEnabled) {
|
||||
hwInfoConfig.configureHardwareCustom(&hardwareInfo, nullptr);
|
||||
|
||||
EXPECT_TRUE(hardwareInfo.capabilityTable.blitterOperationsSupported);
|
||||
}
|
||||
}
|
||||
|
||||
DG1TEST_F(Dg1HwInfo, whenOverrideGfxPartitionLayoutForWslThenReturnTrue) {
|
||||
auto hwInfoConfig = HwInfoConfig::get(defaultHwInfo->platform.eProductFamily);
|
||||
EXPECT_TRUE(hwInfoConfig->overrideGfxPartitionLayoutForWsl());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user