From a01eb2353803c1a14337ccf689f94b5b9c35f5a4 Mon Sep 17 00:00:00 2001 From: hachem Date: Wed, 10 Dec 2025 06:59:01 +0100 Subject: [add]: Kernel+Kernel Batching --- tester/src/main.rs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tester/src/main.rs') diff --git a/tester/src/main.rs b/tester/src/main.rs index ac0a61f..1fb4d32 100644 --- a/tester/src/main.rs +++ b/tester/src/main.rs @@ -2,6 +2,7 @@ mod benchmarks; mod clifford; mod common; mod custom_gates; +mod kernels; mod non_clifford; use common::{print_benchmark_table, print_summary, BenchmarkResult}; @@ -21,6 +22,7 @@ fn print_usage() { println!(" clifford Run Clifford gate tests only"); println!(" non-clifford Run non-Clifford gate tests only"); println!(" custom Run custom gate tests only"); + println!(" kernels Run kernel batching tests only"); println!(" bench Run benchmark tests only"); println!(" help Show this help message"); println!(); @@ -28,6 +30,7 @@ fn print_usage() { println!(" tester # Run all tests"); println!(" tester clifford # Run only Clifford gate tests"); println!(" tester non-clifford # Run only rotation/parametric gate tests"); + println!(" tester kernels # Run only kernel batching tests"); println!(" tester custom bench # Run custom gates and benchmarks"); } @@ -50,6 +53,7 @@ fn main() { let run_clifford = run_all || args.iter().any(|a| a == "clifford"); let run_non_clifford = run_all || args.iter().any(|a| a == "non-clifford"); let run_custom = run_all || args.iter().any(|a| a == "custom"); + let run_kernels = run_all || args.iter().any(|a| a == "kernels"); let run_bench = run_all || args.iter().any(|a| a == "bench"); if run_clifford { @@ -64,6 +68,10 @@ fn main() { custom_gates::run_all(&mut results); } + if run_kernels { + kernels::run_all(&mut results); + } + if run_bench { benchmarks::run_all(&mut results); } -- cgit v1.3