-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathstrassen.ci
36 lines (35 loc) · 1.76 KB
/
strassen.ci
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
mainmodule strassen {
message ValueMsg;
readonly int THRESHOLD;
readonly int VERBOSE;
mainchare Main {
entry Main(CkArgMsg *m);
entry [threaded] void run(int size_);
};
chare strassen {
entry strassen(CkFuture f, std::vector<std::vector<int>> A, std::vector<std::vector<int>> B,int size);
entry [threaded] void run(CkFuture f, std::vector<std::vector<int>> A, std::vector<std::vector<int>> B,int size);
};
chare strassenSub {
entry strassenSub(CkFuture f, std::vector<std::vector<int>> A,
std::vector<std::vector<int>> B, std::vector<std::vector<int>> C, std::vector<std::vector<int>> D,
int size, char partition);
entry [threaded] void run(CkFuture f, std::vector<std::vector<int>> A,
std::vector<std::vector<int>> B, std::vector<std::vector<int>> C, std::vector<std::vector<int>> D,
int size, char partition);
entry strassenSub(CkFuture f, std::vector<std::vector<int>> A,
std::vector<std::vector<int>> B, std::vector<std::vector<int>> C,
int size, char partition);
entry [threaded] void run(CkFuture f, std::vector<std::vector<int>> A,
std::vector<std::vector<int>> B, std::vector<std::vector<int>> C,
int size, char partition);
};
chare addition {
entry addition(CkFuture f, std::vector<std::vector<int>> A, std::vector<std::vector<int>> B, int size);
entry [threaded] void run(CkFuture f, std::vector<std::vector<int>> A, std::vector<std::vector<int>> B, int size);
};
chare substraction {
entry substraction(CkFuture f, std::vector<std::vector<int>> A, std::vector<std::vector<int>> B, int size);
entry [threaded] void run(CkFuture f, std::vector<std::vector<int>> A, std::vector<std::vector<int>> B, int size);
};
}