13#ifndef ARCANE_CORE_CONTIGMACHINESHMEMWIN_H
14#define ARCANE_CORE_CONTIGMACHINESHMEMWIN_H
19#include "arcane/core/ContigMachineShMemWinBase.h"
50 : m_impl(pm, nb_elem_segment, static_cast<
Int32>(sizeof(Type)))
132 m_impl.resizeSegment(new_nb_elem);
146 return m_impl.machineRanks();
Declarations of Arcane's general types.
Types and functions associated with the classes SpanImpl, SmallSpan and Span.
Constant view of an array of type T.
Class allowing the creation of a shared memory window between the subdomains of the same node....
Span< Type > segmentView(Int32 rank)
Method allowing retrieval of a view on the window segment memory of another subdomain of the node.
ConstArrayView< Int32 > machineRanks() const
Method allowing retrieval of the ranks that possess a segment in the window.
void barrier() const
Method allowing waiting until all processes/threads of the node call this method to continue executio...
Span< Type > windowView()
Method allowing retrieval of a view on the entire memory window.
void resizeSegment(Integer new_nb_elem)
Method allowing resizing of the window segments. Collective call.
Span< const Type > segmentConstView() const
Method allowing retrieval of a constant view on our segment memory window.
ContigMachineShMemWin(IParallelMng *pm, Int64 nb_elem_segment)
Constructor.
Span< const Type > segmentConstView(Int32 rank) const
Method allowing retrieval of a constant view on the segment of memory window of another subdomain of ...
Span< Type > segmentView()
Method allowing retrieval of a view on our window segment memory.
Span< const Type > windowConstView() const
Method allowing retrieval of a constant view on the entire window memory.
Interface of the parallelism manager for a subdomain.
View of an array of elements of type T.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
std::int64_t Int64
Signed integer type of 64 bits.
Int32 Integer
Type representing an integer.
Span< DataType > asSpan(Span< std::byte, Extent > bytes)
Converts a Span<std::byte> into a Span<DataType>.
std::int32_t Int32
Signed integer type of 32 bits.