1 |
/*****************************************************************************/ |
/******************************************************************************/ |
2 |
/* */ |
/* */ |
3 |
/* Copyright (c) 2008, 2009, 2010 */ |
/* Copyright (c) 2008, 2009, 2010 */ |
4 |
/* Computer Architecture Group (CAG) */ |
/* Computer Architecture Group (CAG) */ |
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 |
/* */ |
/* */ |
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 |
/* (UPCPUProject -> 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 |
#include "../defines.h" |
#include "../defines.h" |
51 |
|
|
112 |
int headertype=0; |
int headertype=0; |
113 |
|
|
114 |
switch (operation_code) { |
switch (operation_code) { |
115 |
|
case FORALL_R: |
116 |
|
case FORALL_W: |
117 |
|
case FORALL_RW: |
118 |
|
case FOR_R: |
119 |
|
case FOR_W: |
120 |
|
case FOR_RW: |
121 |
case BROADCAST: |
case BROADCAST: |
122 |
case SCATTER: |
case SCATTER: |
123 |
case GATHER: |
case GATHER: |
138 |
case ALMEMPUT: |
case ALMEMPUT: |
139 |
case ALMEMCPY: |
case ALMEMCPY: |
140 |
#endif |
#endif |
141 |
|
#ifdef ASYNCI_MEM_TEST |
142 |
|
case AIMEMGET: |
143 |
|
case AIMEMPUT: |
144 |
|
case AIMEMCPY: |
145 |
|
case AILMEMGET: |
146 |
|
case AILMEMPUT: |
147 |
|
case AILMEMCPY: |
148 |
|
#endif |
149 |
case SMEMCPY: |
case SMEMCPY: |
150 |
case MEMMOVE: |
case MEMMOVE: |
151 |
headertype=3; |
headertype=3; |