|
@@ -1,19 +1,19 @@
|
|
|
#!/bin/bash
|
|
|
|
|
|
# StarPU --- Runtime system for heterogeneous multicore architectures.
|
|
|
-#
|
|
|
+#
|
|
|
# Copyright (C) 2010 Université de Bordeaux 1
|
|
|
# Copyright (C) 2010, 2011 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.
|
|
|
|
|
|
exampledir=../examples/
|
|
@@ -21,6 +21,7 @@ exampledir=../examples/
|
|
|
check_success()
|
|
|
{
|
|
|
if [ $1 != 0 ] ; then
|
|
|
+ echo "failure"
|
|
|
exit $1
|
|
|
fi
|
|
|
}
|
|
@@ -36,7 +37,7 @@ apps()
|
|
|
check_success $?
|
|
|
|
|
|
echo "variable no worker"
|
|
|
- STARPU_NCUDA=0 STARPU_NOPENCL=0 STARPU_NCPUS=0 $exampledir/basic_examples/variable
|
|
|
+ STARPU_NCUDA=0 STARPU_NOPENCL=0 STARPU_NCPUS=0 $exampledir/basic_examples/variable
|
|
|
check_success $?
|
|
|
|
|
|
echo "incrementer opencl"
|