mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-07 12:42:54 +08:00
Fix for enum's name
change lowercase 'b' for uppercase 'B' Change-Id: I35f973bc7966e9d5b9f38d4e4a370215e80012ac
This commit is contained in:
committed by
sys_ocldev
parent
764aa45137
commit
edb3e14147
@@ -32,7 +32,7 @@ enum class HeapIndex : uint32_t {
|
||||
HEAP_EXTERNAL_DEVICE_MEMORY = 2u,
|
||||
HEAP_EXTERNAL = 3u,
|
||||
HEAP_STANDARD,
|
||||
HEAP_STANDARD64Kb,
|
||||
HEAP_STANDARD64KB,
|
||||
HEAP_SVM,
|
||||
HEAP_LIMITED
|
||||
};
|
||||
|
||||
@@ -380,7 +380,7 @@ HeapIndex MemoryManager::selectHeap(const GraphicsAllocation *allocation, const
|
||||
return HeapIndex::HEAP_SVM;
|
||||
}
|
||||
if (allocation && allocation->gmm->gmmResourceInfo->is64KBPageSuitable()) {
|
||||
return HeapIndex::HEAP_STANDARD64Kb;
|
||||
return HeapIndex::HEAP_STANDARD64KB;
|
||||
}
|
||||
return HeapIndex::HEAP_STANDARD;
|
||||
}
|
||||
|
||||
@@ -331,7 +331,7 @@ bool Wddm::mapGpuVirtualAddressImpl(Gmm *gmm, D3DKMT_HANDLE handle, void *cpuPtr
|
||||
MapGPUVA.MinimumAddress = gfxPartition.Standard.Base;
|
||||
MapGPUVA.MaximumAddress = gfxPartition.Standard.Limit;
|
||||
break;
|
||||
case HeapIndex::HEAP_STANDARD64Kb:
|
||||
case HeapIndex::HEAP_STANDARD64KB:
|
||||
UNRECOVERABLE_IF(hardwareInfoTable[productFamily]->capabilityTable.gpuAddressSpace != MemoryConstants::max48BitAddress);
|
||||
MapGPUVA.MinimumAddress = gfxPartition.Standard64KB.Base;
|
||||
MapGPUVA.MaximumAddress = gfxPartition.Standard64KB.Limit;
|
||||
|
||||
Reference in New Issue
Block a user