coverage.sh 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. #!/bin/bash
  2. #
  3. # StarPU
  4. # Copyright (C) Université Bordeaux 1, CNRS 2008-2010 (see AUTHORS file)
  5. #
  6. # This program 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. # This program 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. apps()
  18. {
  19. echo "tag_example"
  20. tag_example/tag_example -iter 64 -i 128 -j 24
  21. echo "tag_example2"
  22. tag_example/tag_example2 -iter 64 -i 128
  23. echo "chol.dm"
  24. STARPU_CALIBRATE=1 STARPU_SCHED="dm" cholesky/dw_cholesky -pin
  25. echo "chol.dmda"
  26. STARPU_CALIBRATE=1 STARPU_SCHED="dmda" cholesky/dw_cholesky -pin
  27. echo "chol.cpu"
  28. STARPU_CALIBRATE=1 STARPU_NCUDA=0 STARPU_SCHED="dm" cholesky/dw_cholesky -pin
  29. echo "chol.gpu"
  30. STARPU_CALIBRATE=1 STARPU_NCPUS=0 STARPU_SCHED="dm" cholesky/dw_cholesky -pin
  31. echo "heat.dm.4k.calibrate.v2"
  32. STARPU_CALIBRATE=1 STARPU_SCHED="dm" heat/heat -ntheta 66 -nthick 66 -nblocks 4 -v2 -pin
  33. echo "heat.dm.8k.calibrate.v2"
  34. STARPU_CALIBRATE=1 STARPU_SCHED="dm" heat/heat -ntheta 66 -nthick 130 -nblocks 8 -v2 -pin
  35. echo "heat.dm.16k.calibrate.v2"
  36. STARPU_CALIBRATE=1 STARPU_SCHED="dm" heat/heat -ntheta 130 -nthick 130 -nblocks 16 -v2 -pin
  37. echo "heat.dm.8k.no.pin.v2"
  38. STARPU_SCHED="dm" heat/heat -ntheta 66 -nthick 130 -nblocks 8 -v2
  39. echo "heat.dm.8k.v2.no.prio"
  40. STARPU_SCHED="no-prio" heat/heat -ntheta 66 -nthick 130 -nblocks 8 -pin -v2
  41. echo "heat.dm.8k.v2.random"
  42. STARPU_SCHED="random" heat/heat -ntheta 66 -nthick 130 -nblocks 8 -pin -v2
  43. echo "heat.dm.8k.v2"
  44. STARPU_SCHED="dm" heat/heat -ntheta 66 -nthick 130 -nblocks 8 -pin -v2
  45. echo "heat.dm.16k.v2"
  46. STARPU_SCHED="dm" heat/heat -ntheta 130 -nthick 130 -nblocks 16 -pin -v2
  47. echo "heat.greedy.8k.v2"
  48. STARPU_SCHED="greedy" heat/heat -ntheta 66 -nthick 130 -nblocks 8 -pin -v2
  49. echo "heat.8k.cg"
  50. heat/heat -ntheta 66 -nthick 130 -nblocks 8 -pin -v2 -cg
  51. echo "heat.dm.8k.cg"
  52. STARPU_SCHED="dm" heat/heat -ntheta 66 -nthick 130 -nblocks 8 -pin -v2 -cg
  53. echo "mult.dm.common"
  54. STARPU_SCHED="dm" mult/dw_mult_no_stride -nblocks 4 -x 4096 -y 4096 -z 1024 -pin -common-model
  55. echo "mult.dm"
  56. STARPU_CALIBRATE=1 STARPU_SCHED="dm" mult/dw_mult_no_stride -nblocks 8 -x 8192 -y 8192 -z 8192 -pin
  57. echo "mult.dmda"
  58. STARPU_CALIBRATE=1 STARPU_SCHED="dmda" mult/dw_mult_no_stride -nblocks 8 -x 8192 -y 8192 -z 8192 -pin
  59. }
  60. apps;