aboutsummaryrefslogtreecommitdiff
path: root/tester/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tester/src/main.rs')
-rw-r--r--tester/src/main.rs8
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);
}