SWDEV-268186 - [PAL] Enable MALL for persistent allocations

Change-Id: Ibc21255d5be52289cb4de3de7d12e0415fd1bc91


[ROCm/clr commit: 0d0739a39b]
Tento commit je obsažen v:
Vladislav Sytchenko committed 2021-01-28 12:47:18 -05:00
1 rodič b8ce1cc059
revize 95655fd5fd
1 file changed
+1
+1
Zobrazit soubor
@@ -471,6 +471,7 @@ void Resource::memTypeToHeap(Pal::GpuMemoryCreateInfo* createInfo) {
switch (memoryType()) {
case Local:
case Scratch:
case Persistent:
createInfo->mallPolicy = static_cast<Pal::GpuMemMallPolicy>(dev().settings().mallPolicy_);
break;
default: