Skip to content

Commit

Permalink
feat(ffi): integrate trapdoor tech msm in mopro-ffi
Browse files Browse the repository at this point in the history
  • Loading branch information
FoodChain1028 committed Apr 12, 2024
1 parent 3df7313 commit 44198b6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mopro-ffi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,11 @@ pub fn arkworks_pippenger(
.unwrap();
Ok(benchmarks)
}
#[cfg(feature = "gpu-benchmarks")]
pub fn trapdoortech_zprize_msm(dir: String ) -> Result<(), MoproError> {
let benchmarks = gpu_explorations::trapdoortech_zprize_msm::run_benchmark(&dir);
Ok(benchmarks)
}

#[cfg(not(feature = "gpu-benchmarks"))]
pub fn arkworks_pippenger(
Expand Down

0 comments on commit 44198b6

Please sign in to comment.