20 lines
835 B
C
20 lines
835 B
C
|
|
#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,
|
||
|
|
std::vector<ParallelRegion*> ¶llelRegions,
|
||
|
|
std::map<std::string, std::vector<LoopGraph*>> loopGraph,
|
||
|
|
std::map<std::string, std::vector<Messages>> &SPF_messages);
|
||
|
|
|
||
|
|
double runLibpredictCalc(SgProject &project,
|
||
|
|
std::vector<size_t> topology,
|
||
|
|
std::string clusterConfStr,
|
||
|
|
std::vector<ParallelRegion*> ¶llelRegions,
|
||
|
|
std::map<std::string, std::vector<LoopGraph*>> loopGraph,
|
||
|
|
std::map<std::string, std::vector<Messages>> &SPF_messages);
|