mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
ULT renaming: Gen11-specific tests
Related-To: NEO-2236 Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
5259428647
commit
be1346f899
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2018-2020 Intel Corporation
|
||||
* Copyright (C) 2018-2021 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@ -19,7 +19,7 @@ struct HwInfoConfigTestLinuxIcllp : HwInfoConfigTestLinux {
|
||||
}
|
||||
};
|
||||
|
||||
ICLLPTEST_F(HwInfoConfigTestLinuxIcllp, configureHwInfoIcllp) {
|
||||
ICLLPTEST_F(HwInfoConfigTestLinuxIcllp, GivenIcllpThenHwInfoIsCorrect) {
|
||||
auto hwInfoConfig = HwInfoConfig::get(productFamily);
|
||||
int ret = hwInfoConfig->configureHwInfo(&pInHwInfo, &outHwInfo, osInterface);
|
||||
EXPECT_EQ(0, ret);
|
||||
@ -42,7 +42,7 @@ ICLLPTEST_F(HwInfoConfigTestLinuxIcllp, configureHwInfoIcllp) {
|
||||
EXPECT_FALSE(outHwInfo.featureTable.ftrTileY);
|
||||
}
|
||||
|
||||
ICLLPTEST_F(HwInfoConfigTestLinuxIcllp, negative) {
|
||||
ICLLPTEST_F(HwInfoConfigTestLinuxIcllp, GivenInvalidDeviceIdWhenConfiguringHwInfoThenNegativeOneReturned) {
|
||||
auto hwInfoConfig = HwInfoConfig::get(productFamily);
|
||||
|
||||
drm->StoredRetValForDeviceID = -1;
|
||||
@ -70,7 +70,7 @@ template <typename T>
|
||||
class IcllpHwInfoTests : public ::testing::Test {};
|
||||
typedef ::testing::Types<ICLLP_1x8x8, ICLLP_1x4x8, ICLLP_1x6x8> icllpTestTypes;
|
||||
TYPED_TEST_CASE(IcllpHwInfoTests, icllpTestTypes);
|
||||
TYPED_TEST(IcllpHwInfoTests, gtSetupIsCorrect) {
|
||||
TYPED_TEST(IcllpHwInfoTests, WhenGettingSystemInfoThenParamsAreValid) {
|
||||
HardwareInfo hwInfo;
|
||||
auto executionEnvironment = std::make_unique<ExecutionEnvironment>();
|
||||
executionEnvironment->prepareRootDeviceEnvironments(1);
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2019-2020 Intel Corporation
|
||||
* Copyright (C) 2019-2021 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@ -15,7 +15,7 @@
|
||||
using namespace NEO;
|
||||
typedef MediaKernelFixture<HelloWorldFixtureFactory> MediaKernelTest;
|
||||
|
||||
ICLLPTEST_F(MediaKernelTest, givenIcllpDefaultLastVmeSubsliceConfigIsFalse) {
|
||||
ICLLPTEST_F(MediaKernelTest, givenIcllpDefaultThenLastVmeSubsliceConfigIsFalse) {
|
||||
auto csr = static_cast<UltCommandStreamReceiver<FamilyType> *>(&pDevice->getGpgpuCommandStreamReceiver());
|
||||
EXPECT_FALSE(csr->lastVmeSubslicesConfig);
|
||||
}
|
||||
@ -53,7 +53,7 @@ ICLLPTEST_F(MediaKernelTest, givenIcllpCSRWhenEnqueueVmeKernelAfterRegularKernel
|
||||
EXPECT_TRUE(csr->lastVmeSubslicesConfig);
|
||||
}
|
||||
|
||||
ICLLPTEST_F(MediaKernelTest, icllpCmdSizeForVme) {
|
||||
ICLLPTEST_F(MediaKernelTest, WhenProgrammingVmeThenCmdSizeIsCorrect) {
|
||||
typedef typename FamilyType::MI_LOAD_REGISTER_IMM MI_LOAD_REGISTER_IMM;
|
||||
typedef typename FamilyType::PIPE_CONTROL PIPE_CONTROL;
|
||||
auto csr = static_cast<UltCommandStreamReceiver<FamilyType> *>(&pDevice->getGpgpuCommandStreamReceiver());
|
||||
|
Reference in New Issue
Block a user