seg_main_cl.c should be a completed sequential openCL implementation