Revert "Enforce uncached memory on AllocatePCIeRW request"

This reverts commit 36da397f96.

Change-Id: I5a7fe9e99685f589f95dd89eacf04d44e5587f2f


[ROCm/ROCR-Runtime commit: 37b5b421b3]
이 커밋은 다음에 포함됨:
David Yat Sin가 2023-02-22 21:55:48 -05:00를 커밋했습니다
1 부모 d022746cb7
커밋 a2e4ba149c
1 파일이 변경됨
-1
@@ -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()) {