File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -56,10 +56,10 @@ struct ClassHandle;
5656template <typename T>
5757struct ClassHandleRank {
5858 ClassHandleRank (ClassHandle<T> in_handle, int in_rank);
59-
59+
6060 template <auto fn, typename ... Args>
6161 void send (Args&&... args);
62-
62+
6363 template <auto fn, typename ... Args>
6464 void sendTerm (Args&&... args);
6565
Original file line number Diff line number Diff line change @@ -83,9 +83,9 @@ template <typename ObjT>
8383struct RegisteredInfo final : BaseRegisteredInfo {
8484 using FnType = decltype (ObjT::getFunc());
8585 FnType fn_ptr;
86-
86+
8787 explicit RegisteredInfo (FnType in_fn_ptr) : fn_ptr(in_fn_ptr) {}
88-
88+
8989 void dispatch (void * data, void * object, bool deserialize) const override {
9090 typename ObjT::TupleType tup;
9191 if (deserialize) {
@@ -95,7 +95,7 @@ struct RegisteredInfo final : BaseRegisteredInfo {
9595 } else {
9696 tup = *reinterpret_cast <typename ObjT::TupleType*>(data);
9797 }
98-
98+
9999 auto obj = reinterpret_cast <typename ObjT::ObjectType*>(object);
100100 std::apply (
101101 fn_ptr,
@@ -354,12 +354,12 @@ struct CommMPI {
354354 if (flag) {
355355 int count = 0 ;
356356 MPI_Get_count (&status, MPI_BYTE, &count);
357-
357+
358358 // Validate message size
359359 if (count < static_cast <int >(3 * sizeof (int ))) {
360360 throw std::runtime_error (" Received message is too small" );
361361 }
362-
362+
363363 std::vector<char > buf (count);
364364 // Ensure buffer is properly aligned
365365 if (reinterpret_cast <std::uintptr_t >(buf.data ()) % alignof (int ) != 0 ) {
You can’t perform that action at this time.
0 commit comments