[gpu-processing] GPU segmentation migrated from CPU.