Compute 2 gradients in sync