small_gicp/scripts/run_downsampling_benchmark.sh

12 lines
345 B
Bash
Executable File

#!/bin/bash
dataset_path=$1
exe_path=../build/downsampling_benchmark
mkdir results
num_threads=(2 3 4 5 6 7 8 16 32 64 128)
for N in ${num_threads[@]}; do
echo $exe_path $dataset_path --num_threads $N | tee results/downsampling_benchmark_$N.txt
$exe_path $dataset_path --num_threads $N | tee results/downsampling_benchmark_$N.txt
done