README 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. # StarPU --- Runtime system for heterogeneous multicore architectures.
  2. #
  3. # Copyright (C) 2010-2021 Université de Bordeaux, CNRS (LaBRI UMR 5800), Inria
  4. #
  5. # StarPU is free software; you can redistribute it and/or modify
  6. # it under the terms of the GNU Lesser General Public License as published by
  7. # the Free Software Foundation; either version 2.1 of the License, or (at
  8. # your option) any later version.
  9. #
  10. # StarPU is distributed in the hope that it will be useful, but
  11. # WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  13. #
  14. # See the GNU Lesser General Public License in COPYING.LGPL for more details.
  15. #
  16. This is a sample 3D stencil application (here just using the game of life rules
  17. for simplicity), split on the z axis.
  18. This is a suggest order of read:
  19. life.c
  20. life.cu: Heart of the stencil computation: compute a new state from an old one.
  21. shadow.cu
  22. shadow.h: Perform replication of data on X and Y edges, to fold the domain on
  23. itself through mere replication of the source state.
  24. stencil.h: Declarations
  25. stencil-kernels.c: Computation Kernels
  26. stencil-blocks.c: Manage block and tags allocation
  27. stencil-tasks.c: Schedule tasks for updates and saves
  28. stencil.c: Main application
  29. *.out: various results according to beta value (communication vs computation
  30. penalty ratio), run make pics or make view to get pictures.
  31. mpi.out: results on MPI.
  32. results: a few results
  33. You can also use the implicit distributed flavour of this application (e.g.
  34. with communications between processes automatically inferred by StarPU-MPI),
  35. which is called implicit_stencil.