Adding the initial control point framework
[charm.git] / src / ck-cp / controlPoints.ci
1 module ControlPoints {
2
3   readonly CProxy_controlPointManager localControlPointManagerProxy;
4   readonly int random_seed;
5
6   mainchare controlPointMain {
7     entry controlPointMain(CkArgMsg*);
8   };
9
10  initnode void controlPointInitNode();
11
12  nodegroup controlPointManager {
13     entry controlPointManager();
14
15     entry void requestMemoryUsage(CkCallback cb);
16     entry void gatherMemoryUsage(CkReductionMsg *msg);
17  }   
18
19
20
21
22
23  message controlPointMsg { 
24          char data[];
25  };
26
27
28
29
30
31  message redistributor2DMsg {  
32         double data[]; 
33  }; 
34  
35  
36   array [2D] redistributor2D {
37    entry redistributor2D(void);
38
39    entry void startup();        
40
41     entry void resizeGranules(int, int);
42 //    entry void receiveTransposeData(int top, int left, int height, int width, int new_chare_cols, int  new_chare_rows, int which_array, double d[width*height]);
43     entry void receiveTransposeData(redistributor2DMsg *msg);
44
45   } 
46
47
48
49
50 };