heat.sh 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. #!/bin/bash
  2. # StarPU --- Runtime system for heterogeneous multicore architectures.
  3. #
  4. # Copyright (C) 2017-2020 Université de Bordeaux, CNRS (LaBRI UMR 5800), Inria
  5. #
  6. # StarPU is free software; you can redistribute it and/or modify
  7. # it under the terms of the GNU Lesser General Public License as published by
  8. # the Free Software Foundation; either version 2.1 of the License, or (at
  9. # your option) any later version.
  10. #
  11. # StarPU is distributed in the hope that it will be useful, but
  12. # WITHOUT ANY WARRANTY; without even the implied warranty of
  13. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  14. #
  15. # See the GNU Lesser General Public License in COPYING.LGPL for more details.
  16. #
  17. # Test various LU options
  18. set -e
  19. PREFIX=$(dirname $0)
  20. if [ -n "$STARPU_MIC_SINK_PROGRAM_PATH" ] ; then
  21. STARPU_MIC_SINK_PROGRAM_NAME=$STARPU_MIC_SINK_PROGRAM_PATH/heat
  22. # in case libtool got into play
  23. [ -x "$STARPU_MIC_SINK_PROGRAM_PATH/.libs/heat" ] && STARPU_MIC_SINK_PROGRAM_NAME=$STARPU_MIC_SINK_PROGRAM_PATH/.libs/heat
  24. fi
  25. $STARPU_LAUNCH $PREFIX/heat -shape 0
  26. $STARPU_LAUNCH $PREFIX/heat -shape 1
  27. # sometimes lead to pivot being 0
  28. #$STARPU_LAUNCH $PREFIX/heat -shape 2
  29. $STARPU_LAUNCH $PREFIX/heat -cg
  30. # TODO: FIXME
  31. # segfault
  32. #$STARPU_LAUNCH $PREFIX/heat -v1
  33. # (actually the default...)
  34. $STARPU_LAUNCH $PREFIX/heat -v2
  35. # hang
  36. #$STARPU_LAUNCH $PREFIX/heat -v3
  37. # hang
  38. #$STARPU_LAUNCH $PREFIX/heat -v4