Skip to content

Commit

Permalink
Fix CUDA benchmark script
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtiomTr committed Jun 5, 2024
1 parent 0c018fb commit aa91df4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions run-cuda-benchmarks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ git clone https://github.com/ArtiomTr/rust-kzg.git
cd rust-kzg || exit
git checkout Integrate_sppark_msm || exit

print_cores_msg "BENCH EIP"
print_cores_msg "BENCH EIP" "../$paste_file"

# 3. run benchmarks
print_msg "rust-kzg with blst backend (parallel, bgmw)" ../"$paste_file"
Expand All @@ -74,9 +74,9 @@ jobs_count=${#point_count[@]}

for (( i=0; i<jobs_count; i++ ));
do
print_cores_msg "BENCHMARKING 2^${point_count[$i]} POINTS" "$paste_file"
print_cores_msg "BENCHMARKING 2^${point_count[$i]} POINTS" "../$paste_file"

export BENCH_NPOW=point_count[$i]
export BENCH_NPOW="${point_count[$i]}"

print_msg "rust-kzg with blst backend (parallel, bgmw)" ../"$paste_file"
cargo bench --manifest-path blst/Cargo.toml --bench lincomb --no-default-features --features std,rand,parallel,bgmw >> ../"$paste_file"
Expand Down

0 comments on commit aa91df4

Please sign in to comment.