arXiv · 1810.04033
Coloured and task-based stencil codes
Abstract
Simple stencil codes are and remain an important building block in scientific computing. On shared memory nodes, they are traditionally parallelised through colouring or (recursive) tiling. New OpenMP versions alternatively allow users to specify data dependencies explicitly and to outsource the decision how to distribute the work to the runtime system. We evaluate traditional multithreading strategies on both Broadwell and KNL, study the arising assignment of tasks to threads and, from there, derive two efficient ways to parallelise stencil codes on regular Cartesian grids that fuse colouring and task-based approaches.
Explore related subjects
Keep this discovery
Benjamin Hazelwood, Tobias Weinzierl. 2018-10-09. Coloured and task-based stencil codes. https://arxiv.org/abs/1810.04033
Cite the original work for its findings. Save a collection to share your selection of sources.