Static Public Member Functions | |
| void * | alloc (int msgnum, int size, int *array, int priobits) |
| void * | pack (ReductionSubmitMsg *in) |
| ReductionSubmitMsg * | unpack (void *in) |
Public Attributes | |
| int | reductionSetID |
| int | sourceNode |
| int | sequenceNumber |
| int | dataSize |
| BigReal | data [1] |
|
||||||||||||||||||||
|
Definition at line 56 of file ReductionMgr.C. 00056 {
00057 int totalsize = size + array[0]*sizeof(BigReal);
00058 ReductionSubmitMsg *newMsg = (ReductionSubmitMsg*)
00059 CkAllocMsg(msgnum,totalsize,priobits);
00060 // newMsg->data = (BigReal*) ((char*)newMsg + size);
00061 return (void*)newMsg;
00062 }
|
|
|
Definition at line 64 of file ReductionMgr.C. 00064 {
00065 // in->data = (BigReal*) ((char*)in->data - (char*)&(in->data));
00066 return (void*)in;
00067 }
|
|
|
Definition at line 69 of file ReductionMgr.C. 00069 {
00070 ReductionSubmitMsg *me = (ReductionSubmitMsg*)in;
00071 // me->data = (BigReal*) ((char*)&(me->data) + (size_t)(me->data));
00072 return me;
00073 }
|
|
|
Definition at line 54 of file ReductionMgr.C. Referenced by ReductionMgr::remoteSubmit(). |
|
|
Definition at line 53 of file ReductionMgr.C. Referenced by ReductionMgr::remoteSubmit(). |
|
|
Definition at line 50 of file ReductionMgr.C. Referenced by ReductionMgr::remoteSubmit(). |
|
|
Definition at line 52 of file ReductionMgr.C. Referenced by ReductionMgr::remoteSubmit(). |
|
|
Definition at line 51 of file ReductionMgr.C. Referenced by ReductionMgr::remoteSubmit(). |
1.3.9.1