test: fix ults that are not freeing Sip kernel correctly

Related-To: NEO-13839
Signed-off-by: Michał Pryba <michal.pryba@intel.com>
This commit is contained in:
Michał Pryba
2025-02-19 16:24:56 +00:00
committed by Compute-Runtime-Automation
parent 9d052cd8ee
commit 117f4c8d32
6 changed files with 45 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2024 Intel Corporation
* Copyright (C) 2020-2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -80,6 +80,8 @@ TEST(Debugger, givenL0DebuggerOFFWhenGettingStateSaveAreaHeaderThenValidSipTypeI
auto &expectedStateSaveAreaHeader = neoDevice->getBuiltIns()->getSipKernel(sipType, *neoDevice).getStateSaveAreaHeader();
EXPECT_EQ(expectedStateSaveAreaHeader, stateSaveAreaHeader);
}
SipKernel::freeSipKernels(&neoDevice->getRootDeviceEnvironmentRef(), neoDevice->getMemoryManager());
}
TEST(Debugger, givenDebuggingEnabledInExecEnvWhenAllocatingIsaThenSingleBankIsUsed) {