mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
BTL: - added tridiagonalization and hessenberg decomposition bench
- added GOTO library
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
|
||||
ADD_CUSTOM_TARGET(copy_scripts)
|
||||
|
||||
SET(script_files go_mean aat.hh ata.hh axpy.hh axpby.hh cholesky.hh trisolve.hh order_lib mk_mean_script.sh mk_new_gnuplot.sh mk_gnuplot_script.sh matrix_matrix.hh matrix_vector.hh atv.hh perlib_plot_settings.txt gnuplot_common_settings.hh )
|
||||
SET(script_files go_mean aat.hh ata.hh axpy.hh axpby.hh cholesky.hh trisolve.hh hessenberg.hh tridiagonalization.hh
|
||||
order_lib mk_mean_script.sh mk_new_gnuplot.sh mk_gnuplot_script.sh
|
||||
matrix_matrix.hh matrix_vector.hh atv.hh perlib_plot_settings.txt gnuplot_common_settings.hh )
|
||||
|
||||
FOREACH(script_file ${script_files})
|
||||
ADD_CUSTOM_COMMAND(
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
set title "{/*1.5 Y = alpha * X + beta * Y}" 0.000000,0.000000
|
||||
set xlabel "vector size" 0.000000,0.000000
|
||||
set xrange [1:1000000]
|
||||
set xrange [5:1000000]
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
set title "{/*1.5 Y += alpha * X}" 0.000000,0.000000
|
||||
set xlabel "vector size" 0.000000,0.000000
|
||||
set xrange [1:1000000]
|
||||
set xrange [5:1000000]
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#! /bin/bash
|
||||
mkdir $1
|
||||
mkdir -p $1
|
||||
##cp ../libs/*/*.dat $1
|
||||
|
||||
EIGENDIR=`cat eigen_root_dir.txt`
|
||||
@@ -17,6 +17,7 @@ echo '<ul>'\
|
||||
'</p>' >> $webpagefilename
|
||||
|
||||
source mk_mean_script.sh axpy $1 11 2500 100000 250000 > $1/axpy.html
|
||||
source mk_mean_script.sh axpby $1 11 2500 100000 250000 > $1/axpby.html
|
||||
source mk_mean_script.sh matrix_vector $1 11 50 300 1000 > $1/matrix_vector.html
|
||||
source mk_mean_script.sh atv $1 11 50 300 1000 > $1/atv.html
|
||||
source mk_mean_script.sh matrix_matrix $1 11 100 300 1000 > $1/matrix_matrix.html
|
||||
@@ -24,6 +25,8 @@ source mk_mean_script.sh aat $1 11 100 300 1000 > $1/aat.html
|
||||
source mk_mean_script.sh ata $1 11 100 300 1000 > $1/ata.html
|
||||
source mk_mean_script.sh trisolve $1 11 100 300 1000 > $1/trisolve.html
|
||||
source mk_mean_script.sh cholesky $1 11 100 300 1000 > $1/cholesky.html
|
||||
source mk_mean_script.sh hessenberg $1 11 100 300 1000 > $1/hessenberg.html
|
||||
source mk_mean_script.sh tridiagonalization $1 11 100 300 1000 > $1/tridiagonalization.html
|
||||
|
||||
## compile the web page ##
|
||||
|
||||
|
||||
3
bench/btl/data/hessenberg.hh
Normal file
3
bench/btl/data/hessenberg.hh
Normal file
@@ -0,0 +1,3 @@
|
||||
set title "{/*1.5 Hessenberg decomposition}" 0.000000,0.000000
|
||||
set xlabel "matrix size" 0.000000,0.000000
|
||||
set xrange [6:1000]
|
||||
@@ -10,7 +10,8 @@ WORK_DIR=tmp
|
||||
mkdir $WORK_DIR
|
||||
|
||||
DATA_FILE=`find $DIR -name "*.dat" | grep _${WHAT}`
|
||||
echo
|
||||
echo ""
|
||||
echo $"1..."
|
||||
for FILE in $DATA_FILE
|
||||
do
|
||||
##echo hello world
|
||||
|
||||
@@ -7,4 +7,5 @@ ublas ; with lines lw 3 lt 1 lc rgbcolor "#ff0000"
|
||||
mtl4 ; with lines lw 3 lt 1 lc rgbcolor "#d18847"
|
||||
blitz ; with lines lw 3 lt 1 lc rgbcolor "#ff00ff"
|
||||
F77 ; with lines lw 3 lt 3 lc rgbcolor "#e6e64c"
|
||||
GOTO ; with lines lw 3 lt 3 lc rgbcolor "#e6bd96"
|
||||
C ; with lines lw 3 lt 3 lc rgbcolor "#e6bd96"
|
||||
|
||||
3
bench/btl/data/tridiagonalization.hh
Normal file
3
bench/btl/data/tridiagonalization.hh
Normal file
@@ -0,0 +1,3 @@
|
||||
set title "{/*1.5 Tridiagonalization}" 0.000000,0.000000
|
||||
set xlabel "matrix size" 0.000000,0.000000
|
||||
set xrange [6:1000]
|
||||
Reference in New Issue
Block a user