Log In | Get Help   
Home My Page Projects Code Snippets Project Openings UPC Operations Microbenchmarking Suite
Summary Activity Tracker Lists Docs News SCM Files
[uoms] Diff of /trunk/uoms/src/defines.h
[uoms] / trunk / uoms / src / defines.h Repository:
ViewVC logotype

Diff of /trunk/uoms/src/defines.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 13, Wed May 12 11:28:19 2010 UTC revision 14, Mon Nov 29 18:07:07 2010 UTC
# Line 1  Line 1 
1  /*****************************************************************************/  /******************************************************************************/
2  /*                                                                           */  /*                                                                           */
3  /*  Copyright (c) 2008, 2009, 2010                                           */  /*  Copyright (c) 2008, 2009, 2010                                           */
4  /*                         Computer Architecture Group (CAG)                 */  /*                         Computer Architecture Group (CAG)                 */
# Line 24  Line 24 
24  /*  You should have received a copy of the GNU Lesser General Public License */  /*  You should have received a copy of the GNU Lesser General Public License */
25  /*  along with UOMS.  If not, see <http://www.gnu.org/licenses/>.            */  /*  along with UOMS.  If not, see <http://www.gnu.org/licenses/>.            */
26  /*                                                                           */  /*                                                                           */
27  /*****************************************************************************/  /******************************************************************************/
28    
29  /*****************************************************************************/  /******************************************************************************/
30  /*                                                                           */  /*                                                                           */
31  /*    FUNDING: This development has been funded by Hewlett-Packard Spain     */  /*    FUNDING: This development has been funded by Hewlett-Packard Spain     */
32  /*                                                                           */  /*                                                                           */
# Line 35  Line 35 
35  /*    Subproject:                                                            */  /*    Subproject:                                                            */
36  /*     Improving UPC Usability and  Performance in Constellation Systems:    */  /*     Improving UPC Usability and  Performance in Constellation Systems:    */
37  /*     Implementation/Extensions of UPC Libraries.                           */  /*     Implementation/Extensions of UPC Libraries.                           */
38  /*     (UPCPU­Project -> UPC Performance and Usability Project)               */  /*     (UPCPUProject -> UPC Performance and Usability Project)                */
39  /*                                                                           */  /*                                                                           */
40  /*****************************************************************************/  /******************************************************************************/
41    
42  /*****************************************************************************  /******************************************************************************
43    
44    For further documentation, see    For further documentation, see
45    
46    [1] Files under doc/    [1] Files under doc/
47    
48  ******************************************************************************/  *******************************************************************************/
49    
50  /*  /*
51          Do not edit this file!          Do not edit this file!
# Line 72  Line 72 
72    
73  #ifdef ASYNCI_MEM_TEST  #ifdef ASYNCI_MEM_TEST
74          #ifdef ASYNC_MEM_TEST          #ifdef ASYNC_MEM_TEST
75                  #define NUM_BMS 51                  #define NUM_BMS 57
76          #else          #else
77                  #define NUM_BMS 45                  #define NUM_BMS 51
78          #endif          #endif
79  #else  #else
80          #ifdef ASYNC_MEM_TEST          #ifdef ASYNC_MEM_TEST
81                  #define NUM_BMS 45                  #define NUM_BMS 51
82          #else          #else
83                  #define NUM_BMS 39                  #define NUM_BMS 45
84          #endif          #endif
85  #endif  #endif
86    
87  #define VERSION "1.0"  #define VERSION "1.1"
88    
89  #define BARRIER   0  #define FORALL_R 0
90  #define BROADCAST 1  #define FORALL_W 1
91  #define SCATTER   2  #define FORALL_RW 2
92  #define GATHER    3  
93  #define GATHERALL 4  #define FOR_R 3
94  #define EXCHANGE  5  #define FOR_W 4
95  #define PERMUTE   6  #define FOR_RW 5
96  #define MEMGET 7  
97  #define MEMPUT 8  #define BARRIER   6
98  #define MEMCPY 9  #define BROADCAST 7
99  #define LMEMGET 10  #define SCATTER   8
100  #define LMEMPUT 11  #define GATHER    9
101  #define LMEMCPY 12  #define GATHERALL 10
102  #define SMEMCPY 13  #define EXCHANGE  11
103  #define MEMMOVE 14  #define PERMUTE   12
104    #define MEMGET 13
105  #define ALLALLOC 15  #define MEMPUT 14
106  #define FREE 16  #define MEMCPY 15
107    #define LMEMGET 16
108  #define REDUCE_C    17  #define LMEMPUT 17
109  #define PREFIX_REDUCE_C  18  #define LMEMCPY 18
110  #define REDUCE_UC   19  #define SMEMCPY 19
111  #define PREFIX_REDUCE_UC 20  #define MEMMOVE 20
112  #define REDUCE_S    21  
113  #define PREFIX_REDUCE_S  22  #define ALLALLOC 21
114  #define REDUCE_US   23  #define FREE 22
115  #define PREFIX_REDUCE_US 24  
116  #define REDUCE_I    25  #define REDUCE_C    23
117  #define PREFIX_REDUCE_I  26  #define PREFIX_REDUCE_C  24
118  #define REDUCE_UI   27  #define REDUCE_UC   25
119  #define PREFIX_REDUCE_UI 28  #define PREFIX_REDUCE_UC 26
120  #define REDUCE_L    29  #define REDUCE_S    27
121  #define PREFIX_REDUCE_L  30  #define PREFIX_REDUCE_S  28
122  #define REDUCE_UL   31  #define REDUCE_US   29
123  #define PREFIX_REDUCE_UL 32  #define PREFIX_REDUCE_US 30
124  #define REDUCE_F    33  #define REDUCE_I    31
125  #define PREFIX_REDUCE_F  34  #define PREFIX_REDUCE_I  32
126  #define REDUCE_D    35  #define REDUCE_UI   33
127  #define PREFIX_REDUCE_D  36  #define PREFIX_REDUCE_UI 34
128  #define REDUCE_LD   37  #define REDUCE_L    35
129  #define PREFIX_REDUCE_LD 38  #define PREFIX_REDUCE_L  36
130    #define REDUCE_UL   37
131    #define PREFIX_REDUCE_UL 38
132    #define REDUCE_F    39
133    #define PREFIX_REDUCE_F  40
134    #define REDUCE_D    41
135    #define PREFIX_REDUCE_D  42
136    #define REDUCE_LD   43
137    #define PREFIX_REDUCE_LD 44
138    
139  #ifdef ASYNCI_MEM_TEST  #ifdef ASYNCI_MEM_TEST
140          #ifdef ASYNC_MEM_TEST          #ifdef ASYNC_MEM_TEST
141                  #define AMEMGET 39                  #define AMEMGET 45
142                  #define AMEMPUT 40                  #define AMEMPUT 46
143                  #define AMEMCPY 41                  #define AMEMCPY 47
144                  #define ALMEMGET 42                  #define ALMEMGET 48
145                  #define ALMEMPUT 43                  #define ALMEMPUT 49
146                  #define ALMEMCPY 44                  #define ALMEMCPY 50
147                    #define AIMEMGET 51
148                    #define AIMEMPUT 52
149                    #define AIMEMCPY 53
150                    #define AILMEMGET 54
151                    #define AILMEMPUT 55
152                    #define AILMEMCPY 56
153            #else
154                  #define AIMEMGET 45                  #define AIMEMGET 45
155                  #define AIMEMPUT 46                  #define AIMEMPUT 46
156                  #define AIMEMCPY 47                  #define AIMEMCPY 47
157                  #define AILMEMGET 48                  #define AILMEMGET 48
158                  #define AILMEMPUT 49                  #define AILMEMPUT 49
159                  #define AILMEMCPY 50                  #define AILMEMCPY 50
         #else  
                 #define AIMEMGET 39  
                 #define AIMEMPUT 40  
                 #define AIMEMCPY 41  
                 #define AILMEMGET 42  
                 #define AILMEMPUT 43  
                 #define AILMEMCPY 44  
160          #endif          #endif
161  #else  #else
162          #ifdef ASYNC_MEM_TEST          #ifdef ASYNC_MEM_TEST
163                  #define AMEMGET 39                  #define AMEMGET 45
164                  #define AMEMPUT 40                  #define AMEMPUT 46
165                  #define AMEMCPY 41                  #define AMEMCPY 47
166                  #define ALMEMGET 42                  #define ALMEMGET 48
167                  #define ALMEMPUT 43                  #define ALMEMPUT 49
168                  #define ALMEMCPY 44                  #define ALMEMCPY 50
169          #endif          #endif
170  #endif  #endif
171    

Legend:
Removed from v.13  
changed lines
  Added in v.14

root@forge.cesga.es
ViewVC Help
Powered by ViewVC 1.0.0  

Powered By FusionForge