MCPcopy Index your code
hub / github.com/Qazalin/remu

github.com/Qazalin/remu @0.1.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.1.2 ↗ · + Follow
207 symbols 783 edges 7 files 1 documented · 0% updated 2mo ago0.1.2 · 2024-07-07★ 622 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

This is a minimal RDNA3 emulator built for and tested against tinygrad kernels.

Run locally

Usage

  1. 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
  1. Run tinygrad with MOCKGPU=1 AMD=1.

Limitations

Does not implement all RDNA3 instructions.

Extension points exported contracts — how you extend this code

ALUSrc (Interface)
(no doc) [3 implementers]
src/thread.rs
IEEEClass (Interface)
(no doc) [3 implementers]
src/dtype.rs
Colorize (Interface)
(no doc) [1 implementers]
src/utils.rs
Register (Interface)
(no doc) [1 implementers]
src/state.rs
VOPModifier (Interface)
(no doc) [1 implementers]
src/dtype.rs
Value (Interface)
(no doc) [1 implementers]
src/state.rs

Core symbols most depended-on inside this repo

r
called by 156
src/thread.rs
_helper_test_thread
called by 122
src/thread.rs
val
called by 86
src/thread.rs
read
called by 44
src/state.rs
write64
called by 28
src/memory.rs
absolute
called by 21
src/dtype.rs
negate
called by 19
src/dtype.rs
write
called by 15
src/memory.rs

Shape

Function 154
Method 40
Class 7
Interface 6

Languages

Rust100%

Modules by API surface

src/thread.rs145 symbols
src/state.rs23 symbols
src/utils.rs12 symbols
src/dtype.rs12 symbols
src/work_group.rs8 symbols
src/memory.rs6 symbols
src/lib.rs1 symbols

For agents

$ claude mcp add remu \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact