Skip to content

Commit

Permalink
#908 rmda- add explicit isByteCopyable trait for NVCC quirk
Browse files Browse the repository at this point in the history
- RdmaHandle is used in serialization. However it is neither a primitive,
  nor is it marked as byte-copyable.

  This type is appears to be forcing serialization in VT with NVCC,
  and the rules for 'is byte copyable' in VT might need to be unified
  back with checkpoint.
  • Loading branch information
pnstickne committed Jul 28, 2020
1 parent 7c658cb commit c7deb92
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/vt/rdmahandle/manager.impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ namespace vt { namespace rdma {
namespace impl {

struct HandleData {
// #949. NVCC shim: Ensure type is compatible with serialization.
using isByteCopyable = std::true_type;

HandleData();
HandleData(HandleKey in_key, std::size_t in_size, int in_count)
: key_(in_key),
Expand Down

0 comments on commit c7deb92

Please sign in to comment.