rocr: Remove deprecated queue doubleMap code

[ROCm/ROCR-Runtime commit: 4bae509296]
Этот коммит содержится в:
David Yat Sin
2025-05-26 20:05:32 +00:00
коммит произвёл Yat Sin, David
родитель e84a855c98
Коммит b83b8b4535
2 изменённых файлов: 1 добавлений и 3 удалений
-2
Просмотреть файл
@@ -209,8 +209,6 @@ KfdDriver::AllocateMemory(const core::MemoryRegion &mem_region,
kmt_alloc_flags.ui32.ExecuteAccess =
(alloc_flags & core::MemoryRegion::AllocateExecutable ? 1 : 0);
kmt_alloc_flags.ui32.AQLQueueMemory =
(alloc_flags & core::MemoryRegion::AllocateDoubleMap ? 1 : 0);
if (m_region.IsSystem() &&
(alloc_flags & core::MemoryRegion::AllocateNonPaged)) {
+1 -1
Просмотреть файл
@@ -92,7 +92,7 @@ class MemoryRegion : public Checked<0x9C961F19EE175BB3> {
AllocateNoFlags = 0,
AllocateRestrict = (1 << 0), // Don't map system memory to GPU agents
AllocateExecutable = (1 << 1), // Set executable permission
AllocateDoubleMap = (1 << 2), // Map twice VA allocation to backing store
AllocateDoubleMap = (1 << 2), // Deprecated:Map twice VA allocation to backing store
AllocateDirect = (1 << 3), // Bypass fragment cache.
AllocateIPC = (1 << 4), // System memory that can be IPC-shared
AllocateNonPaged = (1 << 4), // Non-paged system memory (AllocateIPC alias)