Exploiting massively parallel architectures for the solution of diffusion and propagation problems