Sign in
foss-fpga-tools
/
third_party
/
vtr-verilog-to-routing
/
f7bc1618298493a595907bd3145a3f374ee0c66b
/
.
/
scripts
/
sweep_threads.sh
blob: e7781a24bee293206ea6088b788a1043642648dc [
file
] [
log
] [
blame
]
#!/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