comm_irecv_real_sp_array_n Subroutine

public subroutine comm_irecv_real_sp_array_n(comm, data, count, source, tag, request)

Non-blocking receive with explicit count for single-precision (for device pointers in host_data blocks)

Arguments

Type IntentOptional Attributes Name
type(comm_t), intent(in) :: comm
real(kind=sp) :: data(:)
integer(kind=int32), intent(in) :: count
integer(kind=int32), intent(in) :: source
integer(kind=int32), intent(in) :: tag
type(request_t), intent(out) :: request

Calls

proc~~comm_irecv_real_sp_array_n~2~~CallsGraph proc~comm_irecv_real_sp_array_n~2 comm_irecv_real_sp_array_n mpi_irecv mpi_irecv proc~comm_irecv_real_sp_array_n~2->mpi_irecv

Variables

Type Visibility Attributes Name Initial
integer(kind=int32), private :: ierr

Source Code

   subroutine comm_irecv_real_sp_array_n(comm, data, count, source, tag, request)
      !! Non-blocking receive with explicit count for single-precision (for device pointers in host_data blocks)
      type(comm_t), intent(in) :: comm
      real(sp) :: data(:)
      integer(int32), intent(in) :: count
      integer(int32), intent(in) :: source
      integer(int32), intent(in) :: tag
      type(request_t), intent(out) :: request
      integer(int32) :: ierr

      call MPI_Irecv(data, count, MPI_REAL, source, tag, comm%m_comm, request%m_request, ierr)
      request%is_valid = .true.
   end subroutine comm_irecv_real_sp_array_n