spir
The SPIR-V loader, its type model and the reference interpreter.
| Group | spir |
Detailed description
libspir parses a SPIR-V binary into a spir::Module and models its types and decorations. The SPIR-V to LLVM emitter reads that model. spir::Interpreter runs a module one instruction at a time. It is too slow to be a production evaluator. It is the reference implementation that the emitter is compared against (spirv-unified-lowering §SUD-4), and the Backend::Interpreted lane of libeval.
Classes
| Class | What it is |
|---|---|
| Interpreter | Runs a SPIR-V module, one instruction at a time |