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:
parent
2e0884a301
commit
0f310036a0
|
@ -9,6 +9,7 @@
|
||||||
#include "shared/source/command_container/implicit_scaling.h"
|
#include "shared/source/command_container/implicit_scaling.h"
|
||||||
#include "shared/source/direct_submission/dispatchers/blitter_dispatcher.h"
|
#include "shared/source/direct_submission/dispatchers/blitter_dispatcher.h"
|
||||||
#include "shared/source/gmm_helper/gmm_helper.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/constants.h"
|
||||||
#include "shared/source/helpers/register_offsets.h"
|
#include "shared/source/helpers/register_offsets.h"
|
||||||
#include "shared/source/memory_manager/internal_allocation_storage.h"
|
#include "shared/source/memory_manager/internal_allocation_storage.h"
|
||||||
|
@ -740,7 +741,15 @@ HWTEST2_F(InOrderCmdListTests, givenRegularEventWithInOrderExecInfoWhenReusedOnR
|
||||||
HWTEST2_F(InOrderCmdListTests, givenDebugFlagSetAndSingleTileCmdListWhenAskingForAtomicSignallingThenReturnTrue, IsAtLeastSkl) {
|
HWTEST2_F(InOrderCmdListTests, givenDebugFlagSetAndSingleTileCmdListWhenAskingForAtomicSignallingThenReturnTrue, IsAtLeastSkl) {
|
||||||
auto immCmdList = createImmCmdList<gfxCoreFamily>();
|
auto immCmdList = createImmCmdList<gfxCoreFamily>();
|
||||||
|
|
||||||
|
auto &compilerProductHelper = device->getNEODevice()->getCompilerProductHelper();
|
||||||
|
auto heaplessEnabled = compilerProductHelper.isHeaplessModeEnabled();
|
||||||
|
|
||||||
|
if (heaplessEnabled) {
|
||||||
|
EXPECT_TRUE(immCmdList->inOrderAtomicSignalingEnabled);
|
||||||
|
} else {
|
||||||
EXPECT_FALSE(immCmdList->inOrderAtomicSignalingEnabled);
|
EXPECT_FALSE(immCmdList->inOrderAtomicSignalingEnabled);
|
||||||
|
}
|
||||||
|
|
||||||
EXPECT_EQ(1u, immCmdList->getInOrderIncrementValue());
|
EXPECT_EQ(1u, immCmdList->getInOrderIncrementValue());
|
||||||
|
|
||||||
debugManager.flags.InOrderAtomicSignallingEnabled.set(1);
|
debugManager.flags.InOrderAtomicSignallingEnabled.set(1);
|
||||||
|
@ -7038,10 +7047,8 @@ struct CopyOffloadInOrderTests : public InOrderCmdListTests {
|
||||||
void SetUp() override {
|
void SetUp() override {
|
||||||
debugManager.flags.EnableLocalMemory.set(1);
|
debugManager.flags.EnableLocalMemory.set(1);
|
||||||
backupHwInfo = std::make_unique<VariableBackup<NEO::HardwareInfo>>(defaultHwInfo.get());
|
backupHwInfo = std::make_unique<VariableBackup<NEO::HardwareInfo>>(defaultHwInfo.get());
|
||||||
|
|
||||||
defaultHwInfo->capabilityTable.blitterOperationsSupported = true;
|
defaultHwInfo->capabilityTable.blitterOperationsSupported = true;
|
||||||
defaultHwInfo->featureTable.ftrBcsInfo = 0b111;
|
defaultHwInfo->featureTable.ftrBcsInfo = 0b111;
|
||||||
|
|
||||||
InOrderCmdListTests::SetUp();
|
InOrderCmdListTests::SetUp();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
#include "shared/source/command_stream/command_stream_receiver_hw.h"
|
#include "shared/source/command_stream/command_stream_receiver_hw.h"
|
||||||
#include "shared/source/command_stream/preemption.h"
|
#include "shared/source/command_stream/preemption.h"
|
||||||
#include "shared/source/command_stream/scratch_space_controller.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/source/utilities/software_tags_manager.h"
|
||||||
#include "shared/test/common/cmd_parse/gen_cmd_parse.h"
|
#include "shared/test/common/cmd_parse/gen_cmd_parse.h"
|
||||||
#include "shared/test/common/helpers/unit_test_helper.h"
|
#include "shared/test/common/helpers/unit_test_helper.h"
|
||||||
|
@ -142,6 +143,13 @@ HWTEST_F(CommandQueueExecuteCommandLists, givenCommandListThatRequiresDisabledEU
|
||||||
using CommandList::requiredStreamState;
|
using CommandList::requiredStreamState;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
auto &compilerProductHelper = neoDevice->getCompilerProductHelper();
|
||||||
|
auto heaplessEnabled = compilerProductHelper.isHeaplessModeEnabled();
|
||||||
|
|
||||||
|
if (heaplessEnabled) {
|
||||||
|
GTEST_SKIP();
|
||||||
|
}
|
||||||
|
|
||||||
const ze_command_queue_desc_t desc{};
|
const ze_command_queue_desc_t desc{};
|
||||||
ze_result_t returnValue;
|
ze_result_t returnValue;
|
||||||
auto commandQueue = whiteboxCast(CommandQueue::create(productFamily,
|
auto commandQueue = whiteboxCast(CommandQueue::create(productFamily,
|
||||||
|
|
Loading…
Reference in New Issue