-
Notifications
You must be signed in to change notification settings - Fork 47
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
[Issue]: roc::NullDevice::importExtSemaphore
(hipImportExternalSemaphore
) crash
#72
Comments
Hi @opcod3, internal ticket has been created to assist with your issue. Thanks! |
Hi @opcod3, HIP interoperability with Vulkan external semaphores is not supported on Linux yet. The documentation will be updated to reflect this. Regarding using the HSA backend, could you provide a link to the documentation or source code of the function you're referring to? |
Hi @sohaibnd, it's been a while but IIRC there function i was reffering to is this one: clr/rocclr/device/pal/paldevice.cpp Line 2831 in 939c788
I remember finding some flags relating to using a different backend in the cmake files but did not investigate it further. As an aside, i'd like to say the the fragmentation of the ROCm/HIP ecosystem is VERY bad for it. As a developer I cannot expect anything to just work without testing it first. There vulkan interop examples/functions long predate HIP support on Windows so it's weird that you say they do not support linux. What OS were they originally written for? |
Hi @opcod3, the function you're referring to is the implementation of the hipImportExternalSemaphore API in the PAL backend, and the PAL backend is not supported on linux. The hip_vulkan test was meant for Windows. While the entire ROCm stack is not supported on windows, there has been support for HIP for a while. I understand your frustration, and we're improving the documentation to address this (any suggestions are welcome!). If you have come across any other issues, please do create an issue on GitHub so we can address it. |
Problem Description
When running the 20_hip_vulkan example the program crashes with the following error
Operating System
Arch Linux
CPU
AMD Ryzen 9 3950X 16-Core Processor
GPU
AMD Radeon Pro W6800, AMD Radeon VII
ROCm Version
ROCm 6.0.0
ROCm Component
clr
Steps to Reproduce
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
Additional Information
The program crashes on
hipImportExternalSemaphore
which albeit being documented as implemented is actually stubbed inrocclr/device/rocm/rocdevice.hpp
.The HSA backend appears to implement the same function but I couldn't find a simple way to compile the clr with that backend enabled.
The text was updated successfully, but these errors were encountered: