ESAIM: Proceedings and Surveys (Jan 2018)

A Task-Driven Implementation of a Simple Numerical Solver for Hyperbolic Conservation Laws

  • Essadki Mohamed,
  • Jung Jonathan,
  • Larat Adam,
  • Pelletier Milan,
  • Perrier Vincent

DOI
https://doi.org/10.1051/proc/201863228
Journal volume & issue
Vol. 63
pp. 228 – 247

Abstract

Read online

This article describes the implementation of an all-in-one numerical procedure within the runtime StarPU. In order to limit the complexity of the method, for the sake of clarity of the presentation of the non-classical task-driven programming environment, we have limited the numerics to first order in space and time. Results show that the task distribution is efficient if the tasks are numerous and individually large enough so that the task heap can be saturated by tasks which computational time covers the task management overhead. Next, we also see that even though they are mostly faster on graphic cards, not all the tasks are suitable for GPUs, which brings forward the importance of the task scheduler. Finally, we look at a more realistic system of conservation laws with an expensive source term, what allows us to conclude and open on future works involving higher local arithmetic intensity, by increasing the order of the numerical method or by enriching the model (increased number of parameters and therefore equations).