Skip to main content

Crate openvm_benchmarks_fields

Crate openvm_benchmarks_fields 

Source
Expand description

Extension Field Benchmark

Benchmarks for field arithmetic operations on GPU. Measures compute throughput by doing many ops per element to amortize memory access.

Throughput is reported in Gops/s (Giga-operations per second = billion ops/sec).

Structs§

BenchConfig
FieldBenchResult
OpResult
Poseidon2BenchResult

Functions§

bench_ctx
bench_fp
bench_fp4
bench_fp5
bench_fp6
bench_fp2x3
bench_fp3x2
bench_fpext
bench_gl
bench_gl3
bench_kb
bench_kb5
bench_kb6
bench_kb2x3
bench_kb3x2
bench_poseidon2_bb
bench_poseidon2_kb
cuda_check
Check CUDA return code, panic on error
init_fp
Launches the benchmark init kernel on the benchmark stream.
init_fp4
Launches the benchmark init kernel on the benchmark stream.
init_fp5
Launches the benchmark init kernel on the benchmark stream.
init_fp6
Launches the benchmark init kernel on the benchmark stream.
init_fp2x3
Launches the benchmark init kernel on the benchmark stream.
init_fp3x2
Launches the benchmark init kernel on the benchmark stream.
init_kb
Launches the benchmark init kernel on the benchmark stream.
init_kb5
Launches the benchmark init kernel on the benchmark stream.
init_kb6
Launches the benchmark init kernel on the benchmark stream.
init_kb2x3
Launches the benchmark init kernel on the benchmark stream.
init_kb3x2
Launches the benchmark init kernel on the benchmark stream.
measure
print_benchmark_tables
Print a table of benchmark results
random_u32s
random_u64s
run_all_benchmarks
sync
Sync and check