#gpu #stark #winterfell

miden-gpu

GPU acceleration for the Miden VM prover

1 unstable release

0.1.0 Apr 16, 2024

#1205 in Cryptography

MIT license

82KB
1.5K SLoC

Metal Shading Language 833 SLoC // 0.2% comments Rust 494 SLoC // 0.1% comments

miden-gpu

GPU acceleration for the Miden VM prover.

Build & Test

# recompile shaders
make shaders

# run tests
cargo test

# run benchmarks
cargo bench

Example usage


let mut row_hasher = RowHasher::new(lde_domain_size, num_base_columns, HashFn::Rpx256);
row_hasher.update(segments);
let row_hashes = row_hasher.finish().await;

let tree_nodes = build_merkle_tree(&row_hashes, HashFn::Rpx256);

License

This project is MIT licensed.

Acknowledgements

This project was originally developed as part of the ministark project by Andrew Milson.

Dependencies

~0.3–1.3MB
~13K SLoC