test: correct expectations in ults if heapless is enabled 13/n

Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
Kamil Kopryk 2024-08-23 14:37:20 +00:00 committed by Compute-Runtime-Automation
parent 2e0884a301
commit 0f310036a0
2 changed files with 18 additions and 3 deletions

View File

@ -9,6 +9,7 @@
#include "shared/source/command_container/implicit_scaling.h"
#include "shared/source/direct_submission/dispatchers/blitter_dispatcher.h"
#include "shared/source/gmm_helper/gmm_helper.h"
#include "shared/source/helpers/compiler_product_helper.h"
#include "shared/source/helpers/constants.h"
#include "shared/source/helpers/register_offsets.h"
#include "shared/source/memory_manager/internal_allocation_storage.h"
@ -740,7 +741,15 @@ HWTEST2_F(InOrderCmdListTests, givenRegularEventWithInOrderExecInfoWhenReusedOnR
HWTEST2_F(InOrderCmdListTests, givenDebugFlagSetAndSingleTileCmdListWhenAskingForAtomicSignallingThenReturnTrue, IsAtLeastSkl) {
auto immCmdList = createImmCmdList<gfxCoreFamily>();
EXPECT_FALSE(immCmdList->inOrderAtomicSignalingEnabled);
auto &compilerProductHelper = device->getNEODevice()->getCompilerProductHelper();
auto heaplessEnabled = compilerProductHelper.isHeaplessModeEnabled();
if (heaplessEnabled) {
EXPECT_TRUE(immCmdList->inOrderAtomicSignalingEnabled);
} else {
EXPECT_FALSE(immCmdList->inOrderAtomicSignalingEnabled);
}
EXPECT_EQ(1u, immCmdList->getInOrderIncrementValue());
debugManager.flags.InOrderAtomicSignallingEnabled.set(1);
@ -7038,10 +7047,8 @@ struct CopyOffloadInOrderTests : public InOrderCmdListTests {
void SetUp() override {
debugManager.flags.EnableLocalMemory.set(1);
backupHwInfo = std::make_unique<VariableBackup<NEO::HardwareInfo>>(defaultHwInfo.get());
defaultHwInfo->capabilityTable.blitterOperationsSupported = true;
defaultHwInfo->featureTable.ftrBcsInfo = 0b111;
InOrderCmdListTests::SetUp();
}

View File

@ -9,6 +9,7 @@
#include "shared/source/command_stream/command_stream_receiver_hw.h"
#include "shared/source/command_stream/preemption.h"
#include "shared/source/command_stream/scratch_space_controller.h"
#include "shared/source/helpers/compiler_product_helper.h"
#include "shared/source/utilities/software_tags_manager.h"
#include "shared/test/common/cmd_parse/gen_cmd_parse.h"
#include "shared/test/common/helpers/unit_test_helper.h"
@ -142,6 +143,13 @@ HWTEST_F(CommandQueueExecuteCommandLists, givenCommandListThatRequiresDisabledEU
using CommandList::requiredStreamState;
};
auto &compilerProductHelper = neoDevice->getCompilerProductHelper();
auto heaplessEnabled = compilerProductHelper.isHeaplessModeEnabled();
if (heaplessEnabled) {
GTEST_SKIP();
}
const ze_command_queue_desc_t desc{};
ze_result_t returnValue;
auto commandQueue = whiteboxCast(CommandQueue::create(productFamily,