p-adaptive discontinuous Galerkin method for the shallow water equations on heterogeneous computing architectures | Synapse