Discontinuous Galerkin method applied to elastodynamics and its implementations for GPU computing