diff options
| author | hachem <im@hachem.wtf> | 2025-12-10 06:59:01 +0100 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2025-12-10 06:59:01 +0100 |
| commit | a01eb2353803c1a14337ccf689f94b5b9c35f5a4 (patch) | |
| tree | d56da2e675897a7ba1ba5735eccf15394cb1c613 /tester/src/main.rs | |
| parent | 140daa490485812ef50756796435538b9f6d9428 (diff) | |
[add]: Kernel+Kernel Batching
Diffstat (limited to 'tester/src/main.rs')
| -rw-r--r-- | tester/src/main.rs | 8 |
1 files changed, 8 insertions, 0 deletions
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); } |
