First try with complete algorithm
This commit is contained in:
@@ -34,7 +34,7 @@ namespace platform {
|
||||
public:
|
||||
explicit GridSearch(struct ConfigGrid& config);
|
||||
void go();
|
||||
void go_MPI(struct ConfigMPI& config_mpi);
|
||||
void go_mpi(struct ConfigMPI& config_mpi);
|
||||
~GridSearch() = default;
|
||||
json getResults();
|
||||
static inline std::string NO_CONTINUE() { return "NO_CONTINUE"; }
|
||||
@@ -45,8 +45,9 @@ namespace platform {
|
||||
pair<double, json> processFileSingle(std::string fileName, Datasets& datasets, std::vector<json>& combinations);
|
||||
pair<double, json> processFileNested(std::string fileName, Datasets& datasets, std::vector<json>& combinations);
|
||||
struct ConfigGrid config;
|
||||
pair<int, int> partRange(int n_tasks, int nprocs, int rank);
|
||||
json buildTasks();
|
||||
pair<int, int> part_range_mpi(int n_tasks, int nprocs, int rank);
|
||||
json build_tasks_mpi();
|
||||
void process_task_mpi(struct ConfigMPI& config_mpi, json& task, Datasets& datasets, json& results);
|
||||
Timer timer; // used to measure the time of the whole process
|
||||
};
|
||||
} /* namespace platform */
|
||||
|
Reference in New Issue
Block a user