#include #include #include #include "work.hpp" #include "results_cilk.hpp" using namespace std; void cilk_walk(Semigroup S){ Semigroup temp; if(S.genus(S); ind_t pos=0; while (it.move_next()){ remove_generator(temp,S,it.get_gen(),pos++); if(not cut(temp)){ cilk_spawn cilk_walk(temp); } } //cilk_sync; } else work_on(S,cilk_results.get_results()); } int main(){ __cilkrts_set_param("nworkers", CILK_WORKERS); cout<<"Cilk workers : "<<__cilkrts_get_nworkers()<