Tpetra parallel linear algebra
Version of the Day
|
Object representing a pending ::Tpetra::Details::iallreduce operation. More...
#include <Tpetra_Details_iallreduce.hpp>
Object representing a pending ::Tpetra::Details::iallreduce operation.
This subclass keeps the send and receive buffers. Since ::Kokkos::View reference-counts, this ensures that the buffers will not be deallocated until the iallreduce completes. The buffer references get cleared on wait().
Tpetra developers should not use this directly; they should instead create instances of this via the wrapIallreduceCommRequest function (see below).
PacketType | Type of each entry of the send and receive buffers. |
SendLayoutType | array_layout of the send buffer. Must be Kokkos::LayoutLeft or Kokkos::LayoutRight. |
SendDeviceType | Kokkos::Device specialization used by the send buffer. |
RecvLayoutType | array_layout of the receive buffer. Must be Kokkos::LayoutLeft or Kokkos::LayoutRight. |
RecvDeviceType | Kokkos::Device specialization used by the receive buffer. It's OK for this to differ from SendDeviceType. We assume that MPI implementations can handle this. (This is a reasonable assumption with CUDA-enabled MPI implementations.) |
rank | Integer rank of the send and receive buffers. Must be either 0 or 1. |
Definition at line 230 of file Tpetra_Details_iallreduce.hpp.