Bayesian shear estimation optimized for GPUs