Open darkbasic opened 4 months ago
AFAIK HIP is not tested on POWER Arch and is written keeping x86_64 in mind. So getting this to work might require more work than just fixing compilation errors of missing intrinsic.
The GPU you have is also not supported on ROCm 6.0
https://rocm.docs.amd.com/projects/install-on-linux/en/latest/reference/system-requirements.html
AFAIK HIP is not tested on POWER Arch and is written keeping x86_64 in mind. So getting this to work might require more work than just fixing compilation errors of missing intrinsic.
Early versions of ROCm claimed to support ppc64le. Also Adam Tran from AMD said it should work starting from 6.0.2, that's why I've re-tested it.
The GPU you have is also not supported on ROCm 6.0
Yeah I know, but at least the OpenCL part works (or at least used to work last time I've tested it) on x86_64.
I've found a similar error for the RX 6900 XT on x86_64: https://github.com/Mozilla-Ocho/llamafile/issues/214 Is it possible that somehow ROCm regressed and RX 570 doesn't work on x86_64 anymore? Can someone confirm? I'm sure OpenCL used to work but a couple of years have passed since last time I've tested it on x86_64.
Problem Description
I'm on Gentoo Linux ppc64le (4K page size) using linux-6.7.6. GPU is AMD RX 570 (mesa 24.0.1). LLVM is 17.0.6. I managed to successfully build rocm-opencl-runtime-6.0.2, but I had to use the
-DNO_WARN_X86_INTRINSICS
compile flag otherwise it fails. Full build log without-DNO_WARN_X86_INTRINSICS
: rocm-opencl-runtime-6.0.2.build.log I'm also carrying this patch since v5 which used to fix tests:Unfortunately both
clinfo
androcminfo
still fail at runtime like they used to fail with 5.4.3:Operating System
Gentoo Linux ppc64le (4K page size)
CPU
IBM Power 9
GPU
AMD RX 570
ROCm Version
ROCm 6.0.2
ROCm Component
No response
Steps to Reproduce
No response
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
No response
Additional Information
No response