Skip to content
This repository has been archived by the owner on Nov 18, 2021. It is now read-only.

Latest commit

 

History

History
20 lines (15 loc) · 890 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 890 Bytes

Reki

Reki (礫) is a study project to explore the low-level foundations of general-purpose GPU computing. It is a basic decompiler for AMD GCN kernels, using LLVM to disassemble machine code and leveraging various metadata to translate assembly into a higher-level language.

As this is very much a work in progress, the feature scope may change. At the moment, I have yet to decide on the output format: producing valid OpenCL code (with inline assembly for complex paths) would be nice, but I'm not sure how feasible it is given my limited knowledge and time constraints.

Development

A Docker image with the Rust toolchain and ROCm development tools is available on Docker Hub as timlathy/reki.

Run it with docker run -it --rm -v $(pwd):/src timlathy/reki, assuming the current working directory is the root of this repository.