test backwardgpu for similar pairs