Skip to content

Commit 9fc5760

Browse files
committed
Increase padding and halo maximum values to 32 for sweeping
Adjust spacing of output printing
1 parent 189798b commit 9fc5760

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

benchmark.sh

+6-6
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ then
3737
fi
3838
if [[ "$1" == "--pad" ]] || [[ "$2" == "--pad" ]] || [[ "$3" == "--pad" ]]
3939
then
40-
pad_end=16
40+
pad_end=32
4141
fi
4242
if [[ "$1" == "--halo" ]] || [[ "$2" == "--halo" ]] || [[ "$3" == "--halo" ]]
4343
then
44-
halo_end=16
44+
halo_end=32
4545
fi
4646

4747
echo "Type" | xargs printf "%-9s"
@@ -54,7 +54,7 @@ echo "Size" | xargs printf "%-15s"
5454
echo "Pad" | xargs printf "%-6s"
5555
echo "Halo" | xargs printf "%-6s"
5656
echo "Performance\ (GB/s)" | xargs printf "%-36s"
57-
echo "Efficiency\ (%)" | xargs printf "%-26s"
57+
echo "Efficiency\ (%)" | xargs printf "%-31s"
5858
if [[ "$verify" == "--verify" ]]
5959
then
6060
echo "Verification" | xargs printf "%-11s"
@@ -210,14 +210,14 @@ do
210210
if [[ "$type" == "std" ]] || [[ "$type" == "chstd" ]]
211211
then
212212
echo "$R1W0|$R1W1|$R2W1|$R3W1|$R2W2" | xargs printf "%-36s"
213-
echo "$R1W0_eff|$R1W1_eff|$R2W1_eff|$R3W1_eff|$R2W2_eff" | xargs printf "%-26s"
213+
echo "$R1W0_eff|$R1W1_eff|$R2W1_eff|$R3W1_eff|$R2W2_eff" | xargs printf "%-31s"
214214
if [[ "$verify" == "--verify" ]]
215215
then
216216
echo "$R1W0_ver|$R1W1_ver|$R2W1_ver|$R3W1_ver|$R2W2_ver" | xargs printf "%-11s"
217217
fi
218218
else
219219
echo "$R1W1|$R2W1|$R3W1|$R2W2" | xargs printf "%-36s"
220-
echo "$R1W1_eff|$R2W1_eff|$R3W1_eff|$R2W2_eff" | xargs printf "%-26s"
220+
echo "$R1W1_eff|$R2W1_eff|$R3W1_eff|$R2W2_eff" | xargs printf "%-31s"
221221
if [[ "$verify" == "--verify" ]]
222222
then
223223
echo "$R1W1_ver|$R2W1_ver|$R3W1_ver|$R2W2_ver" | xargs printf "%-11s"
@@ -228,4 +228,4 @@ do
228228
done
229229
done
230230

231-
unset CL_CONTEXT_COMPILER_MODE_ALTERA
231+
unset CL_CONTEXT_COMPILER_MODE_ALTERA

0 commit comments

Comments
 (0)