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


[ROCm/clr commit: f1b8ee7b7f]
Este commit está contenido en:
agunashe
2025-02-07 12:00:43 -08:00
cometido por Rakesh Roy
padre c94c02a2e6
commit 4a5c6b8d82
+1 -1
Ver fichero
@@ -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;
}
}