Greetings,
ROCm now can be built [1] and run [2] on riscv64.
Llama.cpp with ROCm 6.2.4 backend have been tested with SOPHGO SG2044 and RevyOS (a Debian-based distribution for RISC-V PC. See ROCm source code [3] and kernel [4]). But key kernel patch for ROCm on riscv64 has not been upstreamed [5]. By the way, most features of SG2044 are now supported by kernel upstream [6].
Is it appropriate to enable riscv64 build with Debian ROCm?
From,
Sakura286.
[1] https://9to5linux.com/t2-linux-sde-25-4-released-with-latest-amd-rocm-for-riscv-64-and-arm64
[2] https://zhuanlan.zhihu.com/p/1928513776661038179
[3] https://github.com/orgs/revyos-rocm/repositories
[4] https://github.com/revyos/sg2044-vendor-kernel
[5] https://lkml.org/lkml/2025/7/7/750
[6] https://github.com/sophgo/linux/wiki#sg2044