Open
Description
Problem Description
Currently ROCR uses drmbuf over kfd only when HSA_ENABLE_IPC_MODE_LEGACY is set to zero see:
with no regard for if the ioctls required for legacy mode are even supported in the running kernel, causing obscure and difficult to debug issues like ROCm/rccl#1454
ROCR should
- use dmabuf by default when running on the mainline kernel or
- at least assert with a resonable error message when HSA_ENABLE_IPC_MODE_LEGACY=0 is not set but the kernel dosent support the required ioctls for legacy mode.
Operating System
any
CPU
any
GPU
any
ROCm Version
ROCm 6.3.0
ROCm Component
ROCR-Runtime
Steps to Reproduce
No response
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
No response
Additional Information
No response
Activity