mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Remove commented code
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
269477ec7e
commit
510188eb29
@ -811,11 +811,8 @@ TEST_F(WddmCommandStreamMockGdiTest, WhenMakingResidentThenResidencyAllocationsL
|
||||
HWTEST_F(WddmCommandStreamMockGdiTest, givenRecordedCommandBufferWhenItIsSubmittedThenFlushTaskIsProperlyCalled) {
|
||||
//preemption allocation + sip allocation
|
||||
size_t csrSurfaceCount = 0;
|
||||
//GraphicsAllocation *tmpAllocation = nullptr;
|
||||
if (device->getPreemptionMode() == PreemptionMode::MidThread) {
|
||||
csrSurfaceCount = 2;
|
||||
//tmpAllocation = GlobalMockSipProgram::getAllocation();
|
||||
//GlobalMockSipProgram::resetAllocation(memoryManager->allocateGraphicsMemoryWithProperties(MockAllocationProperties{csr->getRootDeviceIndex(), MemoryConstants::pageSize}));
|
||||
}
|
||||
csrSurfaceCount += csr->globalFenceAllocation ? 1 : 0;
|
||||
|
||||
@ -892,10 +889,6 @@ HWTEST_F(WddmCommandStreamMockGdiTest, givenRecordedCommandBufferWhenItIsSubmitt
|
||||
memoryManager->freeGraphicsMemory(iohAlloc);
|
||||
memoryManager->freeGraphicsMemory(sshAlloc);
|
||||
memoryManager->freeGraphicsMemory(commandBuffer);
|
||||
if (device->getPreemptionMode() == PreemptionMode::MidThread) {
|
||||
// memoryManager->freeGraphicsMemory(GlobalMockSipProgram::getAllocation());
|
||||
// GlobalMockSipProgram::resetAllocation(tmpAllocation);
|
||||
}
|
||||
}
|
||||
|
||||
using WddmSimpleTest = ::testing::Test;
|
||||
|
Reference in New Issue
Block a user