Third Party Hardware > GPU Compute / Accelerators
AMD OpenCL / ROCm
Corvidae:
To potentially save someone from sinking tons of time into this when it might be doomed to fail: if you are planning on using a Polaris GPU, ROCm will not work on POWER currently due to the lack of PCIE atomics. According to this issue, Vega+ might be fine without them. I double checked if the lack of PCIE atomics was still an issue in 2023, and I would sadly say so:
--- Code: ---[ 14.145631] amdgpu 0000:01:00.0: amdgpu: PCIE atomic ops is not supported
[ 14.811332] kfd kfd: amdgpu: skipped device 1002:67c4, PCI rejects atomics 730<0
--- End code ---
chatcannon:
--- Quote from: MPC7500 on May 28, 2022, 05:01:06 pm ---By accident, I found this:
https://quickbuild.io/~raptor-engineering-public/+archive/ubuntu/rocm-power
--- End quote ---
I had a look at the packages included in the PPA. It seems that they have build the rocminfo tool but not any of the functionality to get ROCm OpenCL actually working. (Maybe I'm wrong there - I didn't look inside the deb packages, only at the package names.) So I tried it out on Gentoo and rocminfo now builds and runs with no modifications using the existing ebuild file.
rocm-opencl-runtime and rocclr still have arch-specific code for assembly and SSE intrinsics but maybe it is small enough to fix the remainder...
Navigation
[0] Message Index
[*] Previous page
Go to full version