Skip to content

Commit

Permalink
Merge pull request #2041 from DARMA-tasking/2040-appease-cuda
Browse files Browse the repository at this point in the history
#2040 Clarify reference to static member functions in template argument to appease nvcc 11.4
  • Loading branch information
PhilMiller authored Dec 13, 2022
2 parents 712749c + de4cd03 commit 3ac0077
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/vt/topos/location/location.impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ void EntityLocationCoord<EntityID>::registerEntity(
);
msg->setResolvedNode(this_node);
theMsg()->markAsLocationMessage(msg);
theMsg()->sendMsg<LocMsgType, updateLocation>(home, msg);
theMsg()->sendMsg<LocMsgType, &EntityLocationCoord<EntityID>::updateLocation>(home, msg);
}
}
}
Expand Down Expand Up @@ -424,7 +424,7 @@ void EntityLocationCoord<EntityID>::getLocation(
this_inst, id, event_id, this_node, home_node
);
theMsg()->markAsLocationMessage(msg);
theMsg()->sendMsg<LocMsgType, getLocationHandler>(home_node, msg);
theMsg()->sendMsg<LocMsgType, &EntityLocationCoord<EntityID>::getLocationHandler>(home_node, msg);
// save a pending action when information about location arrives
pending_actions_.emplace(
std::piecewise_construct,
Expand Down Expand Up @@ -497,7 +497,7 @@ void EntityLocationCoord<EntityID>::sendEagerUpdate(
auto msg = makeMessage<LocMsgType>(
this_inst, id, ask_node, home_node, deliver_node
);
theMsg()->sendMsg<LocMsgType, recvEagerUpdate>(ask_node, msg);
theMsg()->sendMsg<LocMsgType, &EntityLocationCoord<EntityID>::recvEagerUpdate>(ask_node, msg);
}
}

Expand Down Expand Up @@ -537,7 +537,7 @@ void EntityLocationCoord<EntityID>::routeMsgNode(

auto m = msg;
// send to the node discovered by the location manager
theMsg()->sendMsg<MessageT, routedHandler>(to_node, m);
theMsg()->sendMsg<MessageT, &EntityLocationCoord<EntityID>::routedHandler>(to_node, m);
} else {
vt_debug_print(
normal, location,
Expand Down Expand Up @@ -863,7 +863,7 @@ template <typename EntityID>
);
msg2->setResolvedNode(node);
theMsg()->markAsLocationMessage(msg2);
theMsg()->sendMsg<LocMsgType, updateLocation>(ask_node, msg2);
theMsg()->sendMsg<LocMsgType, &EntityLocationCoord<EntityID>::updateLocation>(ask_node, msg2);
});
theMsg()->popEpoch(epoch);
theTerm()->consume(epoch);
Expand Down

0 comments on commit 3ac0077

Please sign in to comment.