Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 158870a

Browse files
committedMar 19, 2025··
chore: update miden-gpu dependency to v0.5
1 parent e64549c commit 158870a

File tree

4 files changed

+44
-79
lines changed

4 files changed

+44
-79
lines changed
 

‎Cargo.lock

+41-50
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ WARNINGS=RUSTDOCFLAGS="-D warnings"
1010
DEBUG_ASSERTIONS=RUSTFLAGS="-C debug-assertions"
1111
FEATURES_CONCURRENT_EXEC=--features concurrent,executable
1212
FEATURES_LOG_TREE=--features concurrent,executable,tracing-forest
13-
FEATURES_METAL_EXEC=--features concurrent,executable,metal
13+
FEATURES_METAL_EXEC=--features concurrent,executable,metal,tracing-forest
1414
ALL_FEATURES_BUT_ASYNC=--features concurrent,executable,metal,testing,with-debug-info,internal
1515

1616
# -- linting --------------------------------------------------------------------------------------

‎prover/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ winter-prover = { package = "winter-prover", version = "0.12", default-features
2929

3030
[target.'cfg(all(target_arch = "aarch64", target_os = "macos"))'.dependencies]
3131
elsa = { version = "1.9", optional = true }
32-
miden-gpu = { version = "0.4", optional = true }
32+
miden-gpu = { version = "0.5", optional = true }
3333
pollster = { version = "0.4", optional = true }

‎prover/src/gpu/metal/mod.rs

+1-27
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
use std::{boxed::Box, marker::PhantomData, time::Instant, vec::Vec};
66

7-
use air::{AuxRandElements, LagrangeKernelEvaluationFrame, PartitionOptions};
7+
use air::{AuxRandElements, PartitionOptions};
88
use elsa::FrozenVec;
99
use miden_gpu::{
1010
HashFn,
@@ -330,32 +330,6 @@ where
330330
self.blowup
331331
}
332332

333-
/// Populates the provided Lagrange kernel frame starting at the current row (as defined by
334-
/// lde_step).
335-
/// Note that unlike EvaluationFrame, the Lagrange kernel frame includes only the Lagrange
336-
/// kernel column (as opposed to all columns).
337-
fn read_lagrange_kernel_frame_into(
338-
&self,
339-
lde_step: usize,
340-
col_idx: usize,
341-
frame: &mut LagrangeKernelEvaluationFrame<E>,
342-
) {
343-
if let Some(aux_segment) = self.aux_segment_lde.as_ref() {
344-
let frame = frame.frame_mut();
345-
frame.truncate(0);
346-
347-
frame.push(aux_segment.get(col_idx, lde_step));
348-
349-
let frame_length = self.trace_info.length().ilog2() as usize + 1;
350-
for i in 0..frame_length - 1 {
351-
let shift = self.blowup() * (1 << i);
352-
let next_lde_step = (lde_step + shift) % self.trace_len();
353-
354-
frame.push(aux_segment.get(col_idx, next_lde_step));
355-
}
356-
}
357-
}
358-
359333
/// Returns the trace info
360334
fn trace_info(&self) -> &TraceInfo {
361335
&self.trace_info

0 commit comments

Comments
 (0)