mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
Revert "fix: enable single temporary allocations list mode"
This reverts commit b496274d1a.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
c98b95a43e
commit
42a8b63725
@@ -1129,18 +1129,18 @@ HWTEST_F(HostPtrAllocationTest, givenSingleTempAllocationsListWhenAddingToStorag
|
||||
TEST_F(HostPtrAllocationTest, givenDebugFlagSetWhenCreatingMemoryManagerThenEnableSingleTempAllocationsList) {
|
||||
DebugManagerStateRestore debugRestorer;
|
||||
|
||||
{
|
||||
auto memoryManager = std::make_unique<MockMemoryManager>(executionEnvironment);
|
||||
EXPECT_TRUE(memoryManager->isSingleTemporaryAllocationsListEnabled());
|
||||
EXPECT_NE(nullptr, memoryManager->temporaryAllocations.get());
|
||||
}
|
||||
|
||||
debugManager.flags.UseSingleListForTemporaryAllocations.set(0);
|
||||
{
|
||||
auto memoryManager = std::make_unique<MockMemoryManager>(executionEnvironment);
|
||||
EXPECT_FALSE(memoryManager->isSingleTemporaryAllocationsListEnabled());
|
||||
EXPECT_EQ(nullptr, memoryManager->temporaryAllocations.get());
|
||||
}
|
||||
|
||||
debugManager.flags.UseSingleListForTemporaryAllocations.set(1);
|
||||
{
|
||||
auto memoryManager = std::make_unique<MockMemoryManager>(executionEnvironment);
|
||||
EXPECT_TRUE(memoryManager->isSingleTemporaryAllocationsListEnabled());
|
||||
EXPECT_NE(nullptr, memoryManager->temporaryAllocations.get());
|
||||
}
|
||||
}
|
||||
|
||||
TEST_F(HostPtrAllocationTest, whenOverlappedFragmentIsBiggerThenStoredAndStoredFragmentCannotBeDestroyedThenCheckForOverlappingReturnsError) {
|
||||
|
||||
@@ -179,7 +179,6 @@ TEST_F(TagAllocatorTest, WhenGettingAndReturningTagThenFreeAndUsedListsAreUpdate
|
||||
TEST_F(TagAllocatorTest, WhenTagAllocatorIsCreatedThenItPopulatesTagsWithProperDeviceBitfield) {
|
||||
size_t alignment = 64;
|
||||
|
||||
memoryManager->recentlyPassedDeviceBitfield = 0;
|
||||
EXPECT_NE(deviceBitfield, memoryManager->recentlyPassedDeviceBitfield);
|
||||
MockTagAllocator<TimeStamps> tagAllocator(memoryManager, 10, alignment, deviceBitfield);
|
||||
EXPECT_EQ(deviceBitfield, memoryManager->recentlyPassedDeviceBitfield);
|
||||
|
||||
Reference in New Issue
Block a user