-
Notifications
You must be signed in to change notification settings - Fork 538
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[HIP][MI100] Virtual Memory Management API on MI100? #3151
Comments
Which OS are you running? For Ubuntu 20.04, you need the HWE stack. I'm not sure about other distros. |
Yup Ubuntu 20.04. Thanks, that makes sense - I'll try switching the kernel. |
Switched to the HWE stack and reinstalled, but it's still coming back as not supported. Here's my kernel and package versions:
|
I do not see here something HIP RT-related: case hipDeviceAttributeVirtualMemoryManagementSupported:
*pi = static_cast<int>(g_devices[device]->devices()[0]->info().virtualMemoryManagement_);
break; Looks like HW or HSA RT specifics. @gargrahul, could you please have a look too? |
Hey @gargrahul and @emankov, can we check back on this? Possible for us to get more info on your roadmap here / when it might be available? Email is fine, thanks. cc: @crozhon |
@gargrahul, @mangupta could you please let us know to whom we should address this ticket? We suspect HSA RT/HW. Thank you in advance! |
@crozhon : The ROCm driver does not support Virtual Memory Management and hence HIP runtime reports |
@crozhon We have an internal ticket to add support in future ROCm release. Will provide ROCm release info when available. Thanks! |
Does MI100 support the virtual memory management API? (functions hipMemAddressReserve, hipMemMap). I've been following this test case (https://github.com/ROCm-Developer-Tools/hip-tests/blob/094b9af382585a079d13c735fd170e69bea735b6/catch/unit/memory/hipMemVmm.cc), and virtual memory is always unsupported on all of our devices.
I've attached a small test program that queries for support and it always returns 0/false on rocm-5.4.2.
hipDeviceAttributeVirtualMemoryManagementSupported : 0
Is there something wrong with my setup or are these APIs just not supported on these devices?
The text was updated successfully, but these errors were encountered: