simplify setup_cl_manager logic