Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion examples/charm++/libcode/htram.C
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,12 @@ void HTramRecv::receive(HTramMessage* agg_message) {
//nodegroup //reference from group

for(int i=CkNodeFirst(CkMyNode()); i < CkNodeFirst(CkMyNode())+CkNodeSize(0);i++) {
HTramMessage* tmpMsg = new HTramMessage(agg_message->next, agg_message->buffer);
HTramMessage* tmpMsg = CkReferenceMsg(agg_message);
// Needed to tell the RTS not to stop us from reusing this message
_SET_USED(UsrToEnv(tmpMsg), 0);
htramProxy[i].receivePerPE(tmpMsg);
}
delete agg_message;
}

void HTram::receivePerPE(HTramMessage* msg) {
Expand Down