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]
이 커밋은 다음에 포함됨:
agunashe 작성하고 Rakesh Roy가 2025-03-11 05:30:43 -04:00를 커밋함
1 부모 c94c02a2e6
커밋 4a5c6b8d82
1 파일이 변경됨
+1 -1
+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;
}
}