diff --git a/projects/rocr-runtime/runtime/hsa-runtime/core/driver/kfd/amd_kfd_driver.cpp b/projects/rocr-runtime/runtime/hsa-runtime/core/driver/kfd/amd_kfd_driver.cpp index e187c6ad6c..79038ac2b9 100644 --- a/projects/rocr-runtime/runtime/hsa-runtime/core/driver/kfd/amd_kfd_driver.cpp +++ b/projects/rocr-runtime/runtime/hsa-runtime/core/driver/kfd/amd_kfd_driver.cpp @@ -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)) { diff --git a/projects/rocr-runtime/runtime/hsa-runtime/core/inc/memory_region.h b/projects/rocr-runtime/runtime/hsa-runtime/core/inc/memory_region.h index 94ebf6730d..db0210bfda 100644 --- a/projects/rocr-runtime/runtime/hsa-runtime/core/inc/memory_region.h +++ b/projects/rocr-runtime/runtime/hsa-runtime/core/inc/memory_region.h @@ -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)