mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Remove debug flag.
Change-Id: I013e1f27477d67fd33ba6c559dffb26d06a0db8b
This commit is contained in:
committed by
sys_ocldev
parent
ec03210687
commit
9cbfa3892d
@@ -1550,19 +1550,3 @@ TEST(ResidencyDataTest, givenResidencyDataWhenUpdateCompletionDataIsCalledThenIt
|
||||
EXPECT_EQ(lastFenceValue3, residency.lastFenceValues[1]);
|
||||
EXPECT_EQ(lastFenceValue3, residency.getFenceValueForContextId(osContext2.getContextId()));
|
||||
}
|
||||
|
||||
TEST(Heap32AllocationTests, givenDebugModeWhenMallocIsUsedToCreateAllocationWhenAllocationIsCreatedThenItDoesntRequireCpuPointerCleanup) {
|
||||
DebugManagerStateRestore restore;
|
||||
DebugManager.flags.UseMallocToObtainHeap32Base.set(true);
|
||||
ExecutionEnvironment executionEnvironment;
|
||||
executionEnvironment.incRefInternal();
|
||||
OsAgnosticMemoryManager memoryManager(true, true, executionEnvironment);
|
||||
auto internalBase = memoryManager.allocator32Bit->getBase();
|
||||
EXPECT_NE(0x40000000000ul, internalBase);
|
||||
EXPECT_NE(0x80000000000ul, internalBase);
|
||||
EXPECT_NE(0x0ul, internalBase);
|
||||
|
||||
auto allocation = static_cast<MemoryAllocation *>(memoryManager.allocate32BitGraphicsMemory(4096u, nullptr, AllocationOrigin::EXTERNAL_ALLOCATION));
|
||||
EXPECT_EQ(nullptr, allocation->driverAllocatedCpuPointer);
|
||||
memoryManager.freeGraphicsMemory(allocation);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user