locality.sh 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. #!/bin/bash -x
  2. #
  3. # StarPU --- Runtime system for heterogeneous multicore architectures.
  4. #
  5. # Copyright (C) 2017 Université de Bordeaux
  6. # Copyright (C) 2017 Inria
  7. #
  8. # StarPU is free software; you can redistribute it and/or modify
  9. # it under the terms of the GNU Lesser General Public License as published by
  10. # the Free Software Foundation; either version 2.1 of the License, or (at
  11. # your option) any later version.
  12. #
  13. # StarPU is distributed in the hope that it will be useful, but
  14. # WITHOUT ANY WARRANTY; without even the implied warranty of
  15. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  16. #
  17. # See the GNU Lesser General Public License in COPYING.LGPL for more details.
  18. # Test generation of FxT traces
  19. set -e
  20. PREFIX=$(dirname $0)
  21. test -x $PREFIX/../../tools/starpu_fxt_tool || exit 77
  22. STARPU_SCHED=modular-eager STARPU_FXT_PREFIX=$PREFIX/ $PREFIX/locality
  23. $PREFIX/../../tools/starpu_fxt_tool -i $PREFIX/prof_file_${USER}_0
  24. # Check that they are approved by Grenoble :)
  25. if type pj_dump > /dev/null 2> /dev/null
  26. then
  27. $PREFIX/../../tools/starpu_paje_sort paje.trace
  28. pj_dump paje.trace
  29. fi