mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
refactor: remove redundant code
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
135d249c68
commit
6ef0af7e22
@@ -745,7 +745,6 @@ HWTEST_F(AubCommandStreamReceiverTests, givenAubCommandStreamReceiverWhenWriteMe
|
||||
auto gfxAllocation = memoryManager->allocateGraphicsMemoryWithProperties(MockAllocationProperties{pDevice->getRootDeviceIndex(), MemoryConstants::pageSize});
|
||||
|
||||
const AllocationType onlyOneTimeAubWritableTypes[] = {
|
||||
AllocationType::pipe,
|
||||
AllocationType::constantSurface,
|
||||
AllocationType::globalSurface,
|
||||
AllocationType::kernelIsa,
|
||||
|
||||
@@ -1550,7 +1550,6 @@ HWTEST_F(TbxCommandStreamTests, givenTbxModeWhenPageFaultManagerIsNotAvailableTh
|
||||
}
|
||||
|
||||
static constexpr std::array onceWritableAllocTypesForTbx{
|
||||
AllocationType::pipe,
|
||||
AllocationType::constantSurface,
|
||||
AllocationType::globalSurface,
|
||||
AllocationType::kernelIsa,
|
||||
|
||||
Reference in New Issue
Block a user