Skip to content

Commit

Permalink
reenable full script
Browse files Browse the repository at this point in the history
  • Loading branch information
Baunsgaard committed Dec 17, 2020
1 parent 79df689 commit f457ddf
Showing 1 changed file with 59 additions and 59 deletions.
118 changes: 59 additions & 59 deletions scripts/perftest/MatrixTranspose.sh
Expand Up @@ -32,65 +32,65 @@ mkdir -p 'scripts/perftest/results'

repeatScript=5
methodRepeat=5
# sparsities=("1.0 0.1")

# for s in $sparsities; do

# LogName="scripts/perftest/results/transpose-skinny-$s.log"
# rm -f $LogName

# # Baseline
# perf stat -d -d -d -r $repeatScript \
# systemds scripts/perftest/scripts/transpose.dml \
# -config scripts/perftest/conf/std.xml \
# -stats \
# -args 2500000 50 $s $methodRepeat \
# >>$LogName 2>&1

# echo $LogName
# cat $LogName | grep -E ' r. |Total elapsed time|-----------| instructions | cycles | CPUs utilized ' | tee $LogName.log

# LogName="scripts/perftest/results/transpose-wide-$s.log"
# rm -f $LogName

# # Baseline
# perf stat -d -d -d -r $repeatScript \
# systemds scripts/perftest/scripts/transpose.dml \
# -config scripts/perftest/conf/std.xml \
# -stats \
# -args 50 2500000 $s $methodRepeat \
# >>$LogName 2>&1

# echo $LogName
# cat $LogName | grep -E ' r. |Total elapsed time|-----------| instructions | cycles | CPUs utilized ' | tee $LogName.log

# LogName="scripts/perftest/results/transpose-full-$s.log"
# rm -f $LogName

# # Baseline
# perf stat -d -d -d -r $repeatScript \
# systemds scripts/perftest/scripts/transpose.dml \
# -config scripts/perftest/conf/std.xml \
# -stats \
# -args 20000 5000 $s $methodRepeat \
# >>$LogName 2>&1

# echo $LogName
# cat $LogName | grep -E ' r. |Total elapsed time|-----------| instructions | cycles | CPUs utilized ' | tee $LogName.log
# done

# LogName="scripts/perftest/results/transpose-large.log"
# rm -f $LogName
# # Baseline
# perf stat -d -d -d -r $repeatScript \
# systemds scripts/perftest/scripts/transpose.dml \
# -config scripts/perftest/conf/std.xml \
# -stats \
# -args 15000000 30 0.8 $methodRepeat \
# >>$LogName 2>&1

# echo $LogName
# cat $LogName | grep -E ' r. |Total elapsed time|-----------| instructions | cycles | CPUs utilized ' | tee $LogName.log
sparsities=("1.0 0.1")

for s in $sparsities; do

LogName="scripts/perftest/results/transpose-skinny-$s.log"
rm -f $LogName

# Baseline
perf stat -d -d -d -r $repeatScript \
systemds scripts/perftest/scripts/transpose.dml \
-config scripts/perftest/conf/std.xml \
-stats \
-args 2500000 50 $s $methodRepeat \
>>$LogName 2>&1

echo $LogName
cat $LogName | grep -E ' r. |Total elapsed time|-----------| instructions | cycles | CPUs utilized ' | tee $LogName.log

LogName="scripts/perftest/results/transpose-wide-$s.log"
rm -f $LogName

# Baseline
perf stat -d -d -d -r $repeatScript \
systemds scripts/perftest/scripts/transpose.dml \
-config scripts/perftest/conf/std.xml \
-stats \
-args 50 2500000 $s $methodRepeat \
>>$LogName 2>&1

echo $LogName
cat $LogName | grep -E ' r. |Total elapsed time|-----------| instructions | cycles | CPUs utilized ' | tee $LogName.log

LogName="scripts/perftest/results/transpose-full-$s.log"
rm -f $LogName

# Baseline
perf stat -d -d -d -r $repeatScript \
systemds scripts/perftest/scripts/transpose.dml \
-config scripts/perftest/conf/std.xml \
-stats \
-args 20000 5000 $s $methodRepeat \
>>$LogName 2>&1

echo $LogName
cat $LogName | grep -E ' r. |Total elapsed time|-----------| instructions | cycles | CPUs utilized ' | tee $LogName.log
done

LogName="scripts/perftest/results/transpose-large.log"
rm -f $LogName
# Baseline
perf stat -d -d -d -r $repeatScript \
systemds scripts/perftest/scripts/transpose.dml \
-config scripts/perftest/conf/std.xml \
-stats \
-args 15000000 30 0.8 $methodRepeat \
>>$LogName 2>&1

echo $LogName
cat $LogName | grep -E ' r. |Total elapsed time|-----------| instructions | cycles | CPUs utilized ' | tee $LogName.log

###########################
## From disk experiment:
Expand Down

0 comments on commit f457ddf

Please sign in to comment.