Ver código fonte

forgot some scripts

Andra Hugo 14 anos atrás
pai
commit
b61b4b3716

+ 18 - 0
tests/cholesky_2ctxs/all_sched.sh

@@ -0,0 +1,18 @@
+#!/bin/bash                                                                     
+export STARPU_NCUDA=3
+export STARPU_NCPUS=9
+export STARPU_DIR=$HOME/sched_ctx_attila/build
+
+source sched.sh isole 0 0 3 
+source sched.sh isole 0 1 2
+source sched.sh isole 0 2 1
+source sched.sh isole 0 3 0   
+
+source sched.sh 1gpu 1 0 2
+source sched.sh 1gpu 1 1 1
+source sched.sh 1gpu 1 2 0
+
+source sched.sh 2gpu 2 1 0
+source sched.sh 2gpu 2 0 1
+
+source sched.sh 3gpu 3 0 0

+ 68 - 0
tests/cholesky_2ctxs/gnuplot_sched.sh

@@ -0,0 +1,68 @@
+#!/bin/bash
+
+# StarPU --- Runtime system for heterogeneous multicore architectures.
+# 
+# Copyright (C) 2009, 2010  Université de Bordeaux 1
+# Copyright (C) 2010  Centre National de la Recherche Scientifique
+# 
+# StarPU is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or (at
+# your option) any later version.
+# 
+# StarPU is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# 
+# See the GNU Lesser General Public License in COPYING.LGPL for more details.
+
+BENCH_NAME=cholesky_and_lu
+
+filename1=/home/ahugo/sched_ctx/tests/cholesky_and_lu/timings-sched/cholesky_and_lu
+filename2=/home/ahugo/trunk2/tests/cholesky_and_lu/timings-sched/cholesky_and_lu
+
+gnuplot > /dev/null << EOF
+set term png enhanced color
+set output "$BENCH_NAME_big_kernel.png"
+
+set datafile missing 'x'
+
+set pointsize 0.75
+set title "Kernel Cholesky - 60 blocks size 61440 - in presence of another kernel cholesky - 40 blocks size 4096"
+set grid y
+set grid x
+set xrange [0:100]
+#set logscale x
+#set xtics 8192,8192,65536
+#set key invert box right bottom title "Scheduling policy"
+#set size 0.65
+
+set xlabel "Number of CPUs"
+set ylabel "GFlop/s"
+
+plot "$filename1" using 3:5 title 'No context' with lines lt 3 lw 2, "$filename2" using 3:5 title '2 contexts' with lines lt 2 lw 2
+
+EOF
+
+gnuplot > /dev/null << EOF
+set term png enhanced color
+set output "$BENCH_NAME_small_kernel.png"
+
+set datafile missing 'x'
+
+set pointsize 0.75
+set title "Kernel Cholesky - 40 blocks size 4096 - in presence of another kernel cholesky - 60 blocks size 61440"
+set grid y
+set grid x
+set xrange [0:100]
+#set logscale x
+#set xtics 8192,8192,65536
+#set key invert box right bottom title "Scheduling policy"
+#set size 0.65
+
+set xlabel "Number of CPUs"
+set ylabel "GFlop/s"
+
+plot "$filename1" using 4:6 title 'No context' with lines lt 3 lw 2, "$filename2" using 4:6 title '2 contexts' with lines lt 2 lw 2
+
+EOF