heat.sh 933 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #!/bin/bash
  2. #
  3. # StarPU --- Runtime system for heterogeneous multicore architectures.
  4. #
  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. # Test various LU options
  18. set -e
  19. PREFIX=$(dirname $0)
  20. $PREFIX/heat -shape 0
  21. $PREFIX/heat -shape 1
  22. $PREFIX/heat -shape 2
  23. $PREFIX/heat -cg
  24. # TODO: FIXME
  25. # segfault
  26. #$PREFIX/heat -v1
  27. # (actually the default...)
  28. $PREFIX/heat -v2
  29. # hang
  30. #$PREFIX/heat -v3
  31. # hang
  32. #$PREFIX/heat -v4