Revert "Enforce uncached memory on AllocatePCIeRW request"

This reverts commit 36da397f96.

Change-Id: I5a7fe9e99685f589f95dd89eacf04d44e5587f2f


[ROCm/ROCR-Runtime commit: 37b5b421b3]
This commit is contained in:
David Yat Sin
2023-02-22 16:06:15 +00:00
والد d022746cb7
کامیت a2e4ba149c
@@ -190,7 +190,6 @@ hsa_status_t MemoryRegion::AllocateImpl(size_t& size, AllocateFlags alloc_flags,
// Allocate pseudo fine grain memory
kmt_alloc_flags.ui32.CoarseGrain = (alloc_flags & AllocatePCIeRW ? 0 : kmt_alloc_flags.ui32.CoarseGrain);
kmt_alloc_flags.ui32.Uncached = (alloc_flags & AllocatePCIeRW ? 1 : kmt_alloc_flags.ui32.Uncached);
// Only allow using the suballocator for ordinary VRAM.
if (IsLocalMemory()) {