Sign in
◑
Theme
foss-fpga-tools
/
third_party
/
vtr-verilog-to-routing
/
1829a5e48a301876a7c7e40385dcae225dc3e8c6
/
.
/
scripts
/
sweep_threads.sh
blob: e7781a24bee293206ea6088b788a1043642648dc [
file
]
#!/usr/bin/env bash
tg_file
=
$1
max_nthreads
=
$2
for
nthreads
in
$
(
seq $max_nthreads
)
do
export OMP_NUM_THREADS
=
$nthreads
echo
"$OMP_NUM_THREADS thread(s)"
./
sta $1
|
grep
-
P
'AVG|Speed-Up'
echo
done