| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 | #!/bin/bash# StarPU --- Runtime system for heterogeneous multicore architectures.## Copyright (C) 2018                                     Université de Bordeaux## 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.#ROOT=${0%.sh}#[ -n "$STARPU_SCHEDS" ] || STARPU_SCHEDS=`$(dirname $0)/../../tools/starpu_sched_display`[ -n "$STARPU_SCHEDS" ] || STARPU_SCHEDS="dmdas modular-heft modular-heft-prio dmdar dmda dmdasd prio lws"[ -n "$STARPU_HOSTNAME" ] || export STARPU_HOSTNAME=mirageunset MALLOC_PERTURB_(echo -n "#"for STARPU_SCHED in $STARPU_SCHEDS ; do	echo -n "	$STARPU_SCHED"doneechofor size in `seq 2 2 30` ; do	echo -n "$((size * 960))"	for STARPU_SCHED in $STARPU_SCHEDS	do		export STARPU_SCHED		GFLOPS=`${ROOT}_implicit -size $((size * 960)) -nblocks $size 2> /dev/null | grep -v GFlops | cut -d '	' -f 3`		[ -n "$GFLOPS" ] || GFLOPS='""'		echo -n "	$GFLOPS"	done	echo done) | tee cholesky.output[ -n "$TERMINAL" ] || TERMINAL=eps[ -n "$OUTFILE" ] || OUTFILE=cholesky.epscat > cholesky.gp << EOFset terminal $TERMINALset output "$OUTFILE"set key top leftset xlabel "size"set ylabel "GFlops"plot \\EOFN=2COMMA=""for STARPU_SCHED in $STARPU_SCHEDSdo	echo "$COMMA'cholesky.output' using 1:$N with lines title '$STARPU_SCHED' \\" >> cholesky.gp	N=$(($N + 1))	COMMA=", "donegnuplot cholesky.gpgv $OUTFILEtrue
 |