locality.sh 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. #!/bin/bash -x
  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 generation of FxT traces
  18. set -e
  19. PREFIX=$(dirname $0)
  20. test -x $PREFIX/../../tools/starpu_fxt_tool || exit 77
  21. STARPU_FXT_PREFIX=$PREFIX/ $PREFIX/locality
  22. $PREFIX/../../tools/starpu_fxt_tool -i $PREFIX/prof_file_${USER}_0
  23. # Check that they are approved by Grenoble :)
  24. if type pj_dump > /dev/null 2> /dev/null
  25. then
  26. $PREFIX/../../tools/starpu_paje_sort paje.trace
  27. pj_dump paje.trace
  28. fi