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,
|
2025-10-22 22:45:57 +03:00
|
|
|
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-22 22:45:57 +03:00
|
|
|
const std::vector<size_t>& topology,
|
|
|
|
|
const std::string& clusterConfStr,
|
2025-10-05 23:06:05 +03:00
|
|
|
const std::vector<ParallelRegion*> ¶llelRegions,
|
2025-10-22 22:45:57 +03:00
|
|
|
std::map<std::string, std::vector<LoopGraph*>>& loopGraph,
|
|
|
|
|
std::map<std::string, std::vector<Messages>> &SPF_messages,
|
|
|
|
|
const std::map<size_t, size_t> &templateIdMapping);
|