GPU implementation of deflated preconditioned conjugate gradient