2025-10-05 17:28:15 +03:00
|
|
|
#pragma once
|
|
|
|
|
#include <vector>
|
|
|
|
|
#include <map>
|
|
|
|
|
#include <string>
|
|
|
|
|
#include "dvm.h"
|
|
|
|
|
#include "graph_calls.h"
|
|
|
|
|
|
|
|
|
|
void runPredictScheme(SgProject &project,
|
|
|
|
|
std::vector<std::vector<size_t>> &topologies,
|
2025-10-05 23:06:05 +03:00
|
|
|
const std::vector<ParallelRegion*> ¶llelRegions,
|
|
|
|
|
std::map<std::string, std::vector<LoopGraph*>> &loopGraph,
|
2025-10-05 17:28:15 +03:00
|
|
|
std::map<std::string, std::vector<Messages>> &SPF_messages);
|
|
|
|
|
|
|
|
|
|
double runLibpredictCalc(SgProject &project,
|
2025-10-05 23:06:05 +03:00
|
|
|
const std::vector<size_t> &topology,
|
|
|
|
|
const std::string &clusterConfStr,
|
|
|
|
|
const std::vector<ParallelRegion*> ¶llelRegions,
|
|
|
|
|
std::map<std::string, std::vector<LoopGraph*>> &loopGraph,
|
2025-10-05 17:28:15 +03:00
|
|
|
std::map<std::string, std::vector<Messages>> &SPF_messages);
|