-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhisto.ci
30 lines (27 loc) · 1.03 KB
/
histo.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
mainmodule histo {
extern module htram_group;
// Handle to the test driver (chare)
readonly CProxy_TestDriver driverProxy;
// Number of chares per PE
readonly int l_num_ups;
readonly int lnum_counts;
mainchare TestDriver {
entry TestDriver (CkArgMsg *args);
entry [reductiontarget] void start();
entry [reductiontarget] void startVerificationPhase();
// entry [reductiontarget] void startRunningPhase();
entry [reductiontarget] void reportErrors(CmiInt8 globalNumErrors);
};
group Updater {
entry Updater(CkGroupID, int);
// This method generates keys that index into the global table.
// Each generated key is submitted to the communication library
entry void preGenerateUpdates();
entry [threaded] void generateUpdates();
entry [threaded] void generateUpdatesVerify();
entry void insertData(const CmiUInt8 &key);
entry void insertData2(const CmiUInt8 &key);
// Used for verification
entry [reductiontarget] void checkErrors();
};
};