Skip to content

Commit

Permalink
#1111: backport: fix sendMsg calls
Browse files Browse the repository at this point in the history
  • Loading branch information
cz4rs committed Dec 21, 2020
1 parent 81241fc commit daea467
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/vt/messaging/active.cc
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ EventType ActiveMessenger::sendMsgMPI(

// Send the control message to receive the multiple chunks of data
auto m = makeMessage<MultiMsg>(info, this_node, msg_size);
sendMsg<MultiMsg, chunkedMultiMsg>(dest, m);
sendMsg<MultiMsg, chunkedMultiMsg>(dest, m.get());

return event_id;
}
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/active/test_active_send_large.cc
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ TYPED_TEST_P(TestActiveSendLarge, test_large_bytes_msg) {
auto msg = makeMessage<LargeMsgType>();
fillMsg(msg);
msg->cb_ = cb;
theMsg()->sendMsg<LargeMsgType, myHandler<LargeMsgType>>(next_node, msg);
theMsg()->sendMsg<LargeMsgType, myHandler<LargeMsgType>>(next_node, msg.get());
});

EXPECT_EQ(counter, 1);
Expand Down

0 comments on commit daea467

Please sign in to comment.