root / benchmark / html / html_report.sh

Revision 43, 1.8 kB (checked in by pernet, 1 year ago)

Updating the benchmark section to make it work with fflas-ffpack

  • Property svn:executable set to *
Line 
1#!/bin/bash
2
3CURRENT_PATH=`pwd`
4HOME_PATH="${CURRENT_PATH}/.."
5
6
7echo "Choose the architecture to process (`ls $HOME_PATH/Target -I CVS`):"
8read ARCHI
9
10echo "Enter the description of the architecture :"
11read ARCHI_DESCR
12
13TEST_DIR=`ls $HOME_PATH/Target/$ARCHI  -I GOTO -I ATLAS -I compilation.log -I report.xml| tail -n 1`
14echo "Processing testing directory [$TEST_DIR]"
15
16TEST_PATH="$HOME_PATH/Target/$ARCHI/$TEST_DIR"
17
18PRIME=65521
19
20
21XML_FILE="$TEST_PATH/report.xml"
22HTML_FILE="$CURRENT_PATH/report-${ARCHI}.html"
23cd $TEST_PATH
24
25echo "<?xml version=\"1.0\"  encoding=\"ISO-8859-1\"?>" > ${XML_FILE}
26echo "<benchmark>"  >> ${XML_FILE}
27echo "<archi> $ARCHI_DESCR </archi>"  >> ${XML_FILE}
28echo "<prime> $PRIME </prime>" >> ${XML_FILE}
29
30${CURRENT_PATH}/process.sh "Matrix Multiplication"        timing-check-dgemm-${PRIME}.txt \
31                                                          timing-check-fgemm-${PRIME}.txt  >> ${XML_FILE}
32
33${CURRENT_PATH}/process.sh "Matrix Triangularization"     timing-check-dgetrf-${PRIME}.txt \
34                                                          timing-check-lqup-${PRIME}.txt  >> ${XML_FILE}
35
36${CURRENT_PATH}/process.sh "Multiple Triangular System Solving"    timing-check-dtrsm-${PRIME}.txt \
37                                                                   timing-check-ftrsm-${PRIME}.txt >> ${XML_FILE}
38
39${CURRENT_PATH}/process.sh "Matrix Inversion"             timing-check-dgetri-${PRIME}.txt \
40                                                          timing-check-inverse-${PRIME}.txt  >> ${XML_FILE}
41
42${CURRENT_PATH}/process.sh "Triangular Matrix Inversion"  timing-check-dtrtri-${PRIME}.txt \
43                                                          timing-check-ftrtri-${PRIME}.txt >> ${XML_FILE}
44echo "</benchmark>" >> ${XML_FILE}
45
46
47xsltproc -o ${HTML_FILE} $CURRENT_PATH/html_report.xsl ${XML_FILE}
Note: See TracBrowser for help on using the browser.