Revert "Enforce uncached memory on AllocatePCIeRW request"
This reverts commit36da397f96. Change-Id: I5a7fe9e99685f589f95dd89eacf04d44e5587f2f [ROCm/ROCR-Runtime commit:37b5b421b3]
이 커밋은 다음에 포함됨:
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()) {
|
||||
|
||||
새 이슈에서 참조
사용자 차단