Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
MpiRequestList.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2026 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
4// See the top-level COPYRIGHT file for details.
5// SPDX-License-Identifier: Apache-2.0
6//-----------------------------------------------------------------------------
7/*---------------------------------------------------------------------------*/
8/* MpiRequestList.h (C) 2000-2025 */
9/* */
10/* MPI request list. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCCORE_MESSAGEPASSINGMPI_INTERNAL_MPIREQUESTLIST_H
13#define ARCCORE_MESSAGEPASSINGMPI_INTERNAL_MPIREQUESTLIST_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arccore/message_passing/RequestListBase.h"
18#include "arccore/message_passing_mpi/MessagePassingMpiGlobal.h"
19
20/*---------------------------------------------------------------------------*/
21/*---------------------------------------------------------------------------*/
22
23namespace Arcane::MessagePassing::Mpi
24{
25
29class ARCCORE_MESSAGEPASSINGMPI_EXPORT MpiRequestList
31{
32 public:
33
34 explicit MpiRequestList(MpiAdapter* adapter)
35 : m_adapter(adapter)
36 {}
37
38 public:
39
40 void _wait(eWaitType wait_type) override;
41
42 private:
43
44 MpiAdapter* m_adapter;
45 UniqueArray<MPI_Status> m_requests_status;
46
47 private:
48
49 void _doWaitSome(bool is_non_blocking);
50};
51
52/*---------------------------------------------------------------------------*/
53/*---------------------------------------------------------------------------*/
54
55} // namespace Arcane::MessagePassing::Mpi
56
57/*---------------------------------------------------------------------------*/
58/*---------------------------------------------------------------------------*/
59
60#endif
void _wait(eWaitType wait_type) override
Performs the wait or test.
1D data vector with value semantics (STL style).