Skip to content

Commit

Permalink
#908 rmda- marking messages as prohibiting serialization
Browse files Browse the repository at this point in the history
- This might force the issue where NVCC appears to be attempting
  to serialization such messages.

  The RdmaData/RdmaType messages were previously shown to be
  trivially byte-copyable to NVCC via a static assert.
  • Loading branch information
pnstickne committed Jul 14, 2020
1 parent 39794e8 commit f1f4388
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 @@ -76,6 +76,8 @@ struct HandleData {

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 @@ -84,6 +86,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 f1f4388

Please sign in to comment.