This is a minimal RDNA3 emulator built for and tested against tinygrad kernels.
- ROCM toolkit - for compiling the kernels
- Install the latest version
curl -s https://api.github.com/repos/Qazalin/remu/releases/latest | \
jq -r '.assets[] | select(.name == "libremu.so").browser_download_url' | \
xargs curl -L -o /usr/local/lib/libremu.so
- Run tinygrad with
HIP=1 HIPCPU=1
. UseREMU_DEBUG=1
to see logs from the emulator.
Does not implement all RDNA3 instructions.