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

Change-Id: Ibc21255d5be52289cb4de3de7d12e0415fd1bc91
Tá an tiomantas seo le fáil i:
Vladislav Sytchenko tiomanta 2021-01-28 12:47:18 -05:00
1 tuismitheoir 81e331dc42
tiomantas 0d0739a39b
1 comhad athraithe
+1
+1
Féach ar an gComhad
@@ -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: