Refactor mpi grid search process using the producer consumer pattern #15

Merged
rmontanana merged 13 commits from producer_consumer into main 2024-01-04 15:24:48 +00:00
Showing only changes of commit b1833a5feb - Show all commits

View File

@ -413,7 +413,7 @@ namespace platform {
json all_results = producer(datasets_names, tasks, config_mpi, MPI_Result);
json results = select_best_results_folds(all_results, config.model);
save(results);
std::cout << "|" << std::endl;
std::cout << Colors::RESET() << "|" << std::endl;
} else {
consumer(datasets, tasks, config, config_mpi, MPI_Result);
}