Fix clang format and suppres clang lint warning
[alexxy/gromacs.git] / src / gromacs / ewald / pme_pp_comm_gpu_impl.cu
index 8c29a1cf1bd2d8542fe482c8239ffad9ba644fdc..d50151836fe556016aa55f085bf5a26e6709d982 100644 (file)
@@ -92,6 +92,7 @@ void PmePpCommGpu::Impl::reinit(int size)
         RVec* pmeCpuForceBufferData = pmeCpuForceBuffer_->data();
         MPI_Send(&pmeCpuForceBufferData, sizeof(RVec*), MPI_BYTE, pmeRank_, 0, comm_);
         // Receive address of event and associated flag from PME rank, to allow sync to local stream after force transfer
+        // NOLINTNEXTLINE(bugprone-sizeof-expression)
         MPI_Recv(&remotePmeForceSendEvent_, sizeof(GpuEventSynchronizer*), MPI_BYTE, pmeRank_, 0, comm_, MPI_STATUS_IGNORE);
         MPI_Recv(&remotePmeForceSendEventRecorded_, sizeof(std::atomic<bool>*), MPI_BYTE, pmeRank_, 0, comm_, MPI_STATUS_IGNORE);
     }