SWDEV-513810 - APU: memory allocations threshold 0.75-->1

Needs further debugging but for now can test the change

Need to verify if this fixes all the below issues-
SWDEV-512754, SWDEV-511675, SWDEV-511055, SWDEV-504085, SWDEV-499503
Also verify original issues
SWDEV-471863, SWDEV-490991

Change-Id: Ic845f851de1b98e8ed9aa0f07afddec3858119e9
Этот коммит содержится в:
agunashe
2025-02-07 12:00:43 -08:00
коммит произвёл Rakesh Roy
родитель 78d0ff2dbc
Коммит f1b8ee7b7f
+1 -1
Просмотреть файл
@@ -119,7 +119,7 @@ bool Memory::create(Resource::MemoryType memType, Resource::CreateParams* params
const Pal::GpuMemoryHeapProperties& invisibleHeap = dev().GetGpuHeapInvisible();
Pal::gpusize totalAlloc = dev().TotalAlloc();
if (invisibleHeap.logicalSize > 0 && memType == Local &&
(totalAlloc > (invisibleHeap.logicalSize * 0.75))) {
(totalAlloc > invisibleHeap.logicalSize)) {
memType = RemoteUSWC;
}
}