Skip to content
This repository was archived by the owner on Jun 4, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ members = [
]
resolver = "2"


[profile.release]
opt-level = 3

Expand Down
10 changes: 10 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[patch.'https://github.com/zkMIPS/plonky2']
#plonky2 = { path = "../plonky2-gpu/plonky2" }
#plonky2_util = { path = "../plonky2-gpu/util" }
#plonky2_field = { path = "../plonky2-gpu/field" }
#plonky2_maybe_rayon = { path = "../plonky2-gpu/maybe_rayon" }
plonky2 = { git = "https://github.com/zkMIPS/plonky2-gpu.git" }
plonky2_util = { git = "https://github.com/zkMIPS/plonky2-gpu.git" }
plonky2_field = { git = "https://github.com/zkMIPS/plonky2-gpu.git" }
plonky2_maybe_rayon = { git = "https://github.com/zkMIPS/plonky2-gpu.git" }

4 changes: 4 additions & 0 deletions prover/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ bincode = "1.3.3"

plonky2 = { git = "https://github.com/zkMIPS/plonky2.git", branch = "zkm_dev" }
#starky = { git = "https://github.com/zkMIPS/plonky2.git", branch = "zkm_dev" }
plonky2_field = { git = "https://github.com/zkMIPS/plonky2.git", branch = "zkm_dev" }
plonky2_util = { git = "https://github.com/zkMIPS/plonky2.git", branch = "zkm_dev" }
plonky2_maybe_rayon = { git = "https://github.com/zkMIPS/plonky2.git", branch = "zkm_dev" }

Expand All @@ -39,6 +40,8 @@ lazy_static = "1.4.0"
elf = { version = "0.7", default-features = false }
sha2 = { version = "0.10.8", default-features = false }

rustacuda = { version = "0.1.3", optional = true }
rustacuda_core = { version = "0.1.2", optional = true }

[dev-dependencies]
env_logger = "0.10.0"
Expand All @@ -49,6 +52,7 @@ plonky2x-derive = { git = "https://github.com/zkMIPS/succinctx.git", package = "

[features]
test = []
gpu = ["rustacuda", "rustacuda_core"]

[profile.release]
debug = true
Loading
Loading