From f3a77127b41b2a17efe05a20caf50c8cd90a5268 Mon Sep 17 00:00:00 2001 From: Ioannis Assiouras Date: Thu, 11 Jul 2024 20:15:12 +0100 Subject: [PATCH] SWDEV-472309 - Check if vmm support exists before enabling vm in mempool Change-Id: I6ae2fb18a306595e0f3a56e144658a4a720e7a37 [ROCm/clr commit: 0053584aacd5d89662a2437a722a63a8964fcce2] --- projects/clr/rocclr/device/rocm/rocdevice.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/clr/rocclr/device/rocm/rocdevice.cpp b/projects/clr/rocclr/device/rocm/rocdevice.cpp index e9bafafa3b..4b342b59aa 100644 --- a/projects/clr/rocclr/device/rocm/rocdevice.cpp +++ b/projects/clr/rocclr/device/rocm/rocdevice.cpp @@ -1820,6 +1820,7 @@ bool Device::populateOCLDeviceConstants() { LogError("HSA_AMD_SYSTEM_INFO_VIRTUAL_MEM_API_SUPPORTED query failed "); } } + HIP_MEM_POOL_USE_VM &= info_.virtualMemoryManagement_; switch (isa().versionMajor()) { case (11):