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 1fb4d32..854472c 100644
--- a/tester/src/main.rs
+++ b/tester/src/main.rs
@@ -4,6 +4,7 @@ mod common;
mod custom_gates;
mod kernels;
mod non_clifford;
+mod simd;
use common::{print_benchmark_table, print_summary, BenchmarkResult};
use std::env;
@@ -23,6 +24,7 @@ fn print_usage() {
println!(" non-clifford Run non-Clifford gate tests only");
println!(" custom Run custom gate tests only");
println!(" kernels Run kernel batching tests only");
+ println!(" simd Run SIMD acceleration tests only");
println!(" bench Run benchmark tests only");
println!(" help Show this help message");
println!();
@@ -31,6 +33,7 @@ fn print_usage() {
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 simd # Run only SIMD tests");
println!(" tester custom bench # Run custom gates and benchmarks");
}
@@ -54,6 +57,7 @@ fn main() {
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_simd = run_all || args.iter().any(|a| a == "simd");
let run_bench = run_all || args.iter().any(|a| a == "bench");
if run_clifford {
@@ -72,6 +76,10 @@ fn main() {
kernels::run_all(&mut results);
}
+ if run_simd {
+ simd::run_all(&mut results);
+ }
+
if run_bench {
benchmarks::run_all(&mut results);
}