test: remove not needed tests

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2024-09-16 16:11:48 +00:00
committed by Compute-Runtime-Automation
parent d565333e66
commit 4f715c9b6a
23 changed files with 9 additions and 695 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2021-2023 Intel Corporation
* Copyright (C) 2021-2024 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -13,9 +13,7 @@
#include "shared/test/common/test_macros/hw_test.h"
namespace NEO {
using IsSKL = IsProduct<IGFX_SKYLAKE>;
using IsDG2 = IsProduct<IGFX_DG2>;
using IsHostPtrTrackingDisabled = IsWithinGfxCore<IGFX_GEN9_CORE, IGFX_GEN11LP_CORE>;
using AILTests = ::testing::Test;
@@ -114,30 +112,6 @@ HWTEST2_F(AILTests, whenModifyKernelIfRequiredIsCalledThenDontChangeKernelSource
EXPECT_STREQ(copyKernel.c_str(), kernelSources.c_str());
}
HWTEST2_F(AILTests, givenPreGen12AndProcessNameIsResolveWhenApplyWithDavinciResolveThenHostPtrTrackingIsDisabled, IsHostPtrTrackingDisabled) {
AILWhitebox<productFamily> ail;
ail.processName = "resolve";
NEO::RuntimeCapabilityTable rtTable = {};
rtTable.hostPtrTrackingEnabled = true;
ail.apply(rtTable);
EXPECT_FALSE(rtTable.hostPtrTrackingEnabled);
}
HWTEST2_F(AILTests, givenPreGen12AndAndProcessNameIsNotResolveWhenApplyWithDavinciResolveThenHostPtrTrackingIsEnabled, IsHostPtrTrackingDisabled) {
AILWhitebox<productFamily> ail;
ail.processName = "usualProcessName";
NEO::RuntimeCapabilityTable rtTable = {};
rtTable.hostPtrTrackingEnabled = true;
ail.apply(rtTable);
EXPECT_TRUE(rtTable.hostPtrTrackingEnabled);
}
HWTEST2_F(AILTests, GivenAilWhenCheckingContextSyncFlagRequiredThenExpectFalse, IsAtLeastGen9) {
AILWhitebox<productFamily> ail;
ail.processName = "other";