mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-29 17:13:29 +08:00
refactor: improve creating 48b resources
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
5535ef3049
commit
d7b6f11ced
@@ -476,8 +476,11 @@ bool MemoryManager::getAllocationData(AllocationData &allocationData, const Allo
|
||||
}
|
||||
|
||||
switch (properties.allocationType) {
|
||||
case AllocationType::deferredTasksList:
|
||||
case AllocationType::commandBuffer:
|
||||
case AllocationType::ringBuffer:
|
||||
allocationData.flags.resource48Bit = helper.is48ResourceNeededForCmdBuffer();
|
||||
break;
|
||||
case AllocationType::deferredTasksList:
|
||||
case AllocationType::image:
|
||||
case AllocationType::indirectObjectHeap:
|
||||
case AllocationType::instructionHeap:
|
||||
@@ -495,7 +498,6 @@ bool MemoryManager::getAllocationData(AllocationData &allocationData, const Allo
|
||||
case AllocationType::timestampPacketTagBuffer:
|
||||
case AllocationType::debugModuleArea:
|
||||
case AllocationType::gpuTimestampDeviceBuffer:
|
||||
case AllocationType::ringBuffer:
|
||||
case AllocationType::semaphoreBuffer:
|
||||
allocationData.flags.resource48Bit = true;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user