Skip to content

Commit be1346f

Browse files
ULT renaming: Gen11-specific tests
Related-To: NEO-2236 Signed-off-by: Adam Cetnerowski <[email protected]>
1 parent 5259428 commit be1346f

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

opencl/test/unit_test/gen11/ehl/linux/hw_info_config_tests_ehl.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (C) 2019-2020 Intel Corporation
2+
* Copyright (C) 2019-2021 Intel Corporation
33
*
44
* SPDX-License-Identifier: MIT
55
*
@@ -20,7 +20,7 @@ struct HwInfoConfigTestLinuxEhl : HwInfoConfigTestLinux {
2020
}
2121
};
2222

23-
EHLTEST_F(HwInfoConfigTestLinuxEhl, configureHwInfoEhl) {
23+
EHLTEST_F(HwInfoConfigTestLinuxEhl, GivenEhlThenHwInfoIsCorrect) {
2424
auto hwInfoConfig = HwInfoConfigHw<IGFX_ELKHARTLAKE>::get();
2525
int ret = hwInfoConfig->configureHwInfo(&pInHwInfo, &outHwInfo, osInterface);
2626
EXPECT_EQ(0, ret);
@@ -42,7 +42,7 @@ EHLTEST_F(HwInfoConfigTestLinuxEhl, configureHwInfoEhl) {
4242
EXPECT_FALSE(outHwInfo.featureTable.ftrTileY);
4343
}
4444

45-
EHLTEST_F(HwInfoConfigTestLinuxEhl, negative) {
45+
EHLTEST_F(HwInfoConfigTestLinuxEhl, GivenInvalidDeviceIdWhenConfiguringHwInfoThenNegativeOneReturned) {
4646
auto hwInfoConfig = HwInfoConfigHw<IGFX_ELKHARTLAKE>::get();
4747

4848
drm->StoredRetValForDeviceID = -1;

opencl/test/unit_test/gen11/icllp/linux/hw_info_config_tests_icllp.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (C) 2018-2020 Intel Corporation
2+
* Copyright (C) 2018-2021 Intel Corporation
33
*
44
* SPDX-License-Identifier: MIT
55
*
@@ -19,7 +19,7 @@ struct HwInfoConfigTestLinuxIcllp : HwInfoConfigTestLinux {
1919
}
2020
};
2121

22-
ICLLPTEST_F(HwInfoConfigTestLinuxIcllp, configureHwInfoIcllp) {
22+
ICLLPTEST_F(HwInfoConfigTestLinuxIcllp, GivenIcllpThenHwInfoIsCorrect) {
2323
auto hwInfoConfig = HwInfoConfig::get(productFamily);
2424
int ret = hwInfoConfig->configureHwInfo(&pInHwInfo, &outHwInfo, osInterface);
2525
EXPECT_EQ(0, ret);
@@ -42,7 +42,7 @@ ICLLPTEST_F(HwInfoConfigTestLinuxIcllp, configureHwInfoIcllp) {
4242
EXPECT_FALSE(outHwInfo.featureTable.ftrTileY);
4343
}
4444

45-
ICLLPTEST_F(HwInfoConfigTestLinuxIcllp, negative) {
45+
ICLLPTEST_F(HwInfoConfigTestLinuxIcllp, GivenInvalidDeviceIdWhenConfiguringHwInfoThenNegativeOneReturned) {
4646
auto hwInfoConfig = HwInfoConfig::get(productFamily);
4747

4848
drm->StoredRetValForDeviceID = -1;
@@ -70,7 +70,7 @@ template <typename T>
7070
class IcllpHwInfoTests : public ::testing::Test {};
7171
typedef ::testing::Types<ICLLP_1x8x8, ICLLP_1x4x8, ICLLP_1x6x8> icllpTestTypes;
7272
TYPED_TEST_CASE(IcllpHwInfoTests, icllpTestTypes);
73-
TYPED_TEST(IcllpHwInfoTests, gtSetupIsCorrect) {
73+
TYPED_TEST(IcllpHwInfoTests, WhenGettingSystemInfoThenParamsAreValid) {
7474
HardwareInfo hwInfo;
7575
auto executionEnvironment = std::make_unique<ExecutionEnvironment>();
7676
executionEnvironment->prepareRootDeviceEnvironments(1);

opencl/test/unit_test/gen11/icllp/test_media_kernel_icllp.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (C) 2019-2020 Intel Corporation
2+
* Copyright (C) 2019-2021 Intel Corporation
33
*
44
* SPDX-License-Identifier: MIT
55
*
@@ -15,7 +15,7 @@
1515
using namespace NEO;
1616
typedef MediaKernelFixture<HelloWorldFixtureFactory> MediaKernelTest;
1717

18-
ICLLPTEST_F(MediaKernelTest, givenIcllpDefaultLastVmeSubsliceConfigIsFalse) {
18+
ICLLPTEST_F(MediaKernelTest, givenIcllpDefaultThenLastVmeSubsliceConfigIsFalse) {
1919
auto csr = static_cast<UltCommandStreamReceiver<FamilyType> *>(&pDevice->getGpgpuCommandStreamReceiver());
2020
EXPECT_FALSE(csr->lastVmeSubslicesConfig);
2121
}
@@ -53,7 +53,7 @@ ICLLPTEST_F(MediaKernelTest, givenIcllpCSRWhenEnqueueVmeKernelAfterRegularKernel
5353
EXPECT_TRUE(csr->lastVmeSubslicesConfig);
5454
}
5555

56-
ICLLPTEST_F(MediaKernelTest, icllpCmdSizeForVme) {
56+
ICLLPTEST_F(MediaKernelTest, WhenProgrammingVmeThenCmdSizeIsCorrect) {
5757
typedef typename FamilyType::MI_LOAD_REGISTER_IMM MI_LOAD_REGISTER_IMM;
5858
typedef typename FamilyType::PIPE_CONTROL PIPE_CONTROL;
5959
auto csr = static_cast<UltCommandStreamReceiver<FamilyType> *>(&pDevice->getGpgpuCommandStreamReceiver());

0 commit comments

Comments
 (0)