Skip to content

Commit 8a6b625

Browse files
authored
chore: update GPU sumcheck API call (#1211)
related: - scroll-tech/ceno-gpu#122
1 parent 38d287f commit 8a6b625

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

gkr_iop/src/gkr/layer/gpu/mod.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -262,9 +262,7 @@ impl<E: ExtensionField, PCS: PolynomialCommitmentScheme<E>> ZerocheckLayerProver
262262
unsafe { std::mem::transmute(all_witins_gpu) };
263263
let all_witins_gpu_type_gl64 = all_witins_gpu_gl64.iter().map(|mle| &mle.mle).collect_vec();
264264
let (proof_gpu, evals_gpu, challenges_gpu) = cuda_hal
265-
.sumcheck
266265
.prove_generic_sumcheck_gpu(
267-
&cuda_hal,
268266
all_witins_gpu_type_gl64,
269267
&mle_size_info,
270268
&term_coefficients_gl64,
@@ -384,9 +382,7 @@ pub(crate) fn prove_rotation_gpu<E: ExtensionField, PCS: PolynomialCommitmentSch
384382
let all_witins_gpu_type_gl64 = all_witins_gpu_gl64.iter().map(|mle| &mle.mle).collect_vec();
385383
// gpu prover
386384
let (proof_gpu, evals_gpu, challenges_gpu) = cuda_hal
387-
.sumcheck
388385
.prove_generic_sumcheck_gpu(
389-
&cuda_hal,
390386
all_witins_gpu_type_gl64,
391387
&mle_size_info,
392388
&term_coefficients_gl64,

gkr_iop/src/gpu/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ pub mod gpu_prover {
3232
build_mle_as_ceno, ordered_sparse32_selector_gpu, rotation_next_base_mle_gpu,
3333
rotation_selector_gpu,
3434
},
35+
utils::HasUtils,
3536
},
3637
};
3738

0 commit comments

Comments
 (0)