Skip to content

Commit

Permalink
#728: Work around *another* nvcc ICE
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilMiller authored and cz4rs committed Dec 21, 2020
1 parent f28fe06 commit a5e986f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/unit/active/test_active_send_large.cc
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,9 @@ TYPED_TEST_P(TestActiveSendLarge, test_large_bytes_msg) {
auto e = pipe::LifetimeEnum::Once;
auto cb = theCB()->makeFunc<RecvMsg>(e, [&counter](RecvMsg*){ counter++; });

NodeType next_node = (this_node + 1) % num_nodes;

vt::runInEpochCollective([&]{
NodeType next_node = (this_node + 1) % num_nodes;
auto msg = makeMessage<LargeMsgType>();
fillMsg(msg);
msg->cb_ = cb;
Expand Down

0 comments on commit a5e986f

Please sign in to comment.