Looking for a GPU routine equivalent to OpenCV Floodfill routine

I am in search of a CUDA routine that performs the same functionality ad the OpenCV Floodfill routine.
If anyone out there knows of or has one to share that works well please let me know

I am also looking for something similar