heat.sh 1.3 KB

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