Skip to content

Commit

Permalink
#908 rmda- marking messages as prohibitting serialization
Browse files Browse the repository at this point in the history
- This should force the issue where NVCC appears to be attempting
  to serialization such messages.
  • Loading branch information
pnstickne committed Jul 14, 2020
1 parent 4cb86a1 commit 0748f56
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/vt/rdmahandle/manager.impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ static_assert( // that HandleData is trivially copyable

template <typename T, HandleEnum E, typename ProxyT>
struct ConstructMsg : vt::collective::ReduceTMsg<HandleData> {
vt_msg_serialize_prohibited();

ConstructMsg() = default;
explicit ConstructMsg(HandleData&& data)
: vt::collective::ReduceTMsg<HandleData>(std::move(data))
Expand All @@ -93,6 +95,8 @@ struct ConstructMsg : vt::collective::ReduceTMsg<HandleData> {

template <typename ProxyT, typename IndexT>
struct InformRDMAMsg : vt::Message {
vt_msg_serialize_prohibited();

InformRDMAMsg() = default;
InformRDMAMsg(
ProxyT in_proxy, RDMA_HandleType in_rdma_handle, bool uniform,
Expand Down

0 comments on commit 0748f56

Please sign in to comment.