Skip to content

[WIP] spirti: SPIR-T interpreter (on the CPU, optionally via rayon).#46

Draft
eddyb wants to merge 1 commit intoeddyb/disaggregatefrom
eddyb/spirti
Draft

[WIP] spirti: SPIR-T interpreter (on the CPU, optionally via rayon).#46
eddyb wants to merge 1 commit intoeddyb/disaggregatefrom
eddyb/spirti

Conversation

@eddyb
Copy link
Copy Markdown
Member

@eddyb eddyb commented Apr 27, 2026

Note: this PR is a draft to avoid accidental merging onto its "base" branch (used as a form of ad-hoc PR stacking), and will remain as such, until its "base" branch can be set to main, i.e. all prerequisite PRs will have landed, up to and including this PR (whose branch is the "base" of this one):


Originally submitted as (description mostly copied from there):


Still very early prototype, needs a lot more features/polish, but I'm glad I finally got to it (been thinking about this idea once in a while, ever since it became obvious to me that a "miri for SPIR-V", and a relatively efficient one, at that, could be built).

As one may be able to tell from the limited amount of ops implemented, first test was Rust-GPU "sky shader":
image


TODO: finish implementing enough features & embedding API for Rust-GPU difftests, update description

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant