Schema_Comm_Vecteurs#
#include <Schema_Comm_Vecteurs.h>
How to cite this class in this doc#
:ref:`Schema\_Comm\_Vecteurs <class-schema-comm-vecteurs>`
[Schema\_Comm\_Vecteurs](#class-schema-comm-vecteurs)
Detailed description#
List of Public Methods#
List of Public Static Methods#
List of Protected Methods#
Complete Member Function Documentation#
void Schema_Comm_Vecteurs::add_recv_area_template(int pe, int size)
Referenced By
How to cite in this doc:
:ref:`void Schema_Comm_Vecteurs::add_recv_area_template(int pe, int size) <public-void-schema-comm-vecteurs-add-recv-area-template-int-pe-int-size>`
[void Schema_Comm_Vecteurs::add_recv_area_template(int pe, int size)](#public-void-schema-comm-vecteurs-add-recv-area-template-int-pe-int-size)
void Schema_Comm_Vecteurs::add_recv_area_template(int pe, int size)
References
How to cite in this doc:
:ref:`void Schema_Comm_Vecteurs::add_recv_area_template(int pe, int size) <public-void-schema-comm-vecteurs-add-recv-area-template-int-pe-int-size>`
[void Schema_Comm_Vecteurs::add_recv_area_template(int pe, int size)](#public-void-schema-comm-vecteurs-add-recv-area-template-int-pe-int-size)
void Schema_Comm_Vecteurs::add_recv_area_template(int pe, int size)
References
How to cite in this doc:
:ref:`void Schema_Comm_Vecteurs::add_recv_area_template(int pe, int size) <public-void-schema-comm-vecteurs-add-recv-area-template-int-pe-int-size>`
[void Schema_Comm_Vecteurs::add_recv_area_template(int pe, int size)](#public-void-schema-comm-vecteurs-add-recv-area-template-int-pe-int-size)
void Schema_Comm_Vecteurs::add_recv_area_template(int pe, int size)
References
How to cite in this doc:
:ref:`void Schema_Comm_Vecteurs::add_recv_area_template(int pe, int size) <public-void-schema-comm-vecteurs-add-recv-area-template-int-pe-int-size>`
[void Schema_Comm_Vecteurs::add_recv_area_template(int pe, int size)](#public-void-schema-comm-vecteurs-add-recv-area-template-int-pe-int-size)
void Schema_Comm_Vecteurs::add_recv_area_template(int pe, int size)
References
How to cite in this doc:
:ref:`void Schema_Comm_Vecteurs::add_recv_area_template(int pe, int size) <public-void-schema-comm-vecteurs-add-recv-area-template-int-pe-int-size>`
[void Schema_Comm_Vecteurs::add_recv_area_template(int pe, int size)](#public-void-schema-comm-vecteurs-add-recv-area-template-int-pe-int-size)
void Schema_Comm_Vecteurs::add_send_area_template(int pe, int size)
Referenced By
How to cite in this doc:
:ref:`void Schema_Comm_Vecteurs::add_send_area_template(int pe, int size) <public-void-schema-comm-vecteurs-add-send-area-template-int-pe-int-size>`
[void Schema_Comm_Vecteurs::add_send_area_template(int pe, int size)](#public-void-schema-comm-vecteurs-add-send-area-template-int-pe-int-size)
void Schema_Comm_Vecteurs::add_send_area_template(int pe, int size)
References
How to cite in this doc:
:ref:`void Schema_Comm_Vecteurs::add_send_area_template(int pe, int size) <public-void-schema-comm-vecteurs-add-send-area-template-int-pe-int-size>`
[void Schema_Comm_Vecteurs::add_send_area_template(int pe, int size)](#public-void-schema-comm-vecteurs-add-send-area-template-int-pe-int-size)
void Schema_Comm_Vecteurs::add_send_area_template(int pe, int size)
References
How to cite in this doc:
:ref:`void Schema_Comm_Vecteurs::add_send_area_template(int pe, int size) <public-void-schema-comm-vecteurs-add-send-area-template-int-pe-int-size>`
[void Schema_Comm_Vecteurs::add_send_area_template(int pe, int size)](#public-void-schema-comm-vecteurs-add-send-area-template-int-pe-int-size)
void Schema_Comm_Vecteurs::add_send_area_template(int pe, int size)
References
How to cite in this doc:
:ref:`void Schema_Comm_Vecteurs::add_send_area_template(int pe, int size) <public-void-schema-comm-vecteurs-add-send-area-template-int-pe-int-size>`
[void Schema_Comm_Vecteurs::add_send_area_template(int pe, int size)](#public-void-schema-comm-vecteurs-add-send-area-template-int-pe-int-size)
void Schema_Comm_Vecteurs::add_send_area_template(int pe, int size)
References
How to cite in this doc:
:ref:`void Schema_Comm_Vecteurs::add_send_area_template(int pe, int size) <public-void-schema-comm-vecteurs-add-send-area-template-int-pe-int-size>`
[void Schema_Comm_Vecteurs::add_send_area_template(int pe, int size)](#public-void-schema-comm-vecteurs-add-send-area-template-int-pe-int-size)
void Schema_Comm_Vecteurs::begin_comm(bool bufferOnDevice=false)
Commence un nouvel echange de donnees (les tailles de buffers doivent avoir ete initialisees avec begin_init() .
References
Referenced By
How to cite in this doc:
:ref:`void Schema_Comm_Vecteurs::begin_comm(bool bufferOnDevice=false) <public-void-schema-comm-vecteurs-begin-comm-bool-bufferondevice-equal-false>`
[void Schema_Comm_Vecteurs::begin_comm(bool bufferOnDevice=false)](#public-void-schema-comm-vecteurs-begin-comm-bool-bufferondevice-equal-false)
void Schema_Comm_Vecteurs::begin_init()
Reinitialise les tailles de buffers.
Il faut ensuite definir les tailles de buffers avec add_send/recv_area_…() Cette methode doit etre appelee simultanement sur tous les processeurs du groupe.
References
Referenced By
How to cite in this doc:
:ref:`void Schema_Comm_Vecteurs::begin_init() <public-void-schema-comm-vecteurs-begin-init>`
[void Schema_Comm_Vecteurs::begin_init()](#public-void-schema-comm-vecteurs-begin-init)
void Schema_Comm_Vecteurs::end_comm()
How to cite in this doc:
:ref:`void Schema_Comm_Vecteurs::end_comm() <public-void-schema-comm-vecteurs-end-comm>`
[void Schema_Comm_Vecteurs::end_comm()](#public-void-schema-comm-vecteurs-end-comm)
void Schema_Comm_Vecteurs::end_init()
Une fois les donnees a echanger declarees avec add_send/recv_area_.
..(), initialise les offset de buffers et alloue un buffer global de taille suffisante. Methode a appeler par tous les processeurs du groupe.
References
Referenced By
How to cite in this doc:
:ref:`void Schema_Comm_Vecteurs::end_init() <public-void-schema-comm-vecteurs-end-init>`
[void Schema_Comm_Vecteurs::end_init()](#public-void-schema-comm-vecteurs-end-init)
void Schema_Comm_Vecteurs::exchange()
References
How to cite in this doc:
:ref:`void Schema_Comm_Vecteurs::exchange() <public-void-schema-comm-vecteurs-exchange>`
[void Schema_Comm_Vecteurs::exchange()](#public-void-schema-comm-vecteurs-exchange)
TRUSTArray<_TYPE_> & Schema_Comm_Vecteurs::get_next_area_template(int pe, int array_size)
How to cite in this doc:
:ref:`TRUSTArray<_TYPE_> & Schema_Comm_Vecteurs::get_next_area_template(int pe, int array_size) <public-trustarray-type-ref-schema-comm-vecteurs-get-next-area-template-int-pe-int-array-size>`
[TRUSTArray<_TYPE_> & Schema_Comm_Vecteurs::get_next_area_template(int pe, int array_size)](#public-trustarray-type-ref-schema-comm-vecteurs-get-next-area-template-int-pe-int-array-size)
ArrOfInt & Schema_Comm_Vecteurs::get_next_area_template(int pe, int size)
renvoie un tableau contenant les “size” valeurs suivantes recues du processeur pe lors de la communication en cours.
Attention: Le tableau renvoye est une reference a un tableau interne qui n’est valide que jusqu’au prochain appel a une methode get_next_xxx.
References
How to cite in this doc:
:ref:`ArrOfInt & Schema_Comm_Vecteurs::get_next_area_template(int pe, int size) <public-arrofint-ref-schema-comm-vecteurs-get-next-area-template-int-pe-int-size>`
[ArrOfInt & Schema_Comm_Vecteurs::get_next_area_template(int pe, int size)](#public-arrofint-ref-schema-comm-vecteurs-get-next-area-template-int-pe-int-size)
ArrOfTID & Schema_Comm_Vecteurs::get_next_area_template(int pe, int size)
References
How to cite in this doc:
:ref:`ArrOfTID & Schema_Comm_Vecteurs::get_next_area_template(int pe, int size) <public-arroftid-ref-schema-comm-vecteurs-get-next-area-template-int-pe-int-size>`
[ArrOfTID & Schema_Comm_Vecteurs::get_next_area_template(int pe, int size)](#public-arroftid-ref-schema-comm-vecteurs-get-next-area-template-int-pe-int-size)
ArrOfDouble & Schema_Comm_Vecteurs::get_next_area_template(int pe, int size)
References
How to cite in this doc:
:ref:`ArrOfDouble & Schema_Comm_Vecteurs::get_next_area_template(int pe, int size) <public-arrofdouble-ref-schema-comm-vecteurs-get-next-area-template-int-pe-int-size>`
[ArrOfDouble & Schema_Comm_Vecteurs::get_next_area_template(int pe, int size)](#public-arrofdouble-ref-schema-comm-vecteurs-get-next-area-template-int-pe-int-size)
ArrOfFloat & Schema_Comm_Vecteurs::get_next_area_template(int pe, int size)
References
How to cite in this doc:
:ref:`ArrOfFloat & Schema_Comm_Vecteurs::get_next_area_template(int pe, int size) <public-arroffloat-ref-schema-comm-vecteurs-get-next-area-template-int-pe-int-size>`
[ArrOfFloat & Schema_Comm_Vecteurs::get_next_area_template(int pe, int size)](#public-arroffloat-ref-schema-comm-vecteurs-get-next-area-template-int-pe-int-size)
Schema_Comm_Vecteurs::Schema_Comm_Vecteurs()
References
How to cite in this doc:
:ref:`Schema_Comm_Vecteurs::Schema_Comm_Vecteurs() <public-schema-comm-vecteurs-schema-comm-vecteurs>`
[Schema_Comm_Vecteurs::Schema_Comm_Vecteurs()](#public-schema-comm-vecteurs-schema-comm-vecteurs)
Schema_Comm_Vecteurs::~Schema_Comm_Vecteurs()
How to cite in this doc:
:ref:`Schema_Comm_Vecteurs::~Schema_Comm_Vecteurs() <public-schema-comm-vecteurs-dtor-schema-comm-vecteurs>`
[Schema_Comm_Vecteurs::~Schema_Comm_Vecteurs()](#public-schema-comm-vecteurs-dtor-schema-comm-vecteurs)
void Schema_Comm_Vecteurs::CleanMyStaticViews()
How to cite in this doc:
:ref:`void Schema_Comm_Vecteurs::CleanMyStaticViews() <public-static-void-schema-comm-vecteurs-cleanmystaticviews>`
[void Schema_Comm_Vecteurs::CleanMyStaticViews()](#public-static-void-schema-comm-vecteurs-cleanmystaticviews)
void Schema_Comm_Vecteurs::add(int pe, int size, ArrOfInt &procs, ArrOfInt &buf_sizes, int align_size)
References
Referenced By
How to cite in this doc:
:ref:`void Schema_Comm_Vecteurs::add(int pe, int size, ArrOfInt &procs, ArrOfInt &buf_sizes, int align_size) <protected-void-schema-comm-vecteurs-add-int-pe-int-size-arrofint-ref-procs-arrofint-ref-buf-sizes-int-align-size>`
[void Schema_Comm_Vecteurs::add(int pe, int size, ArrOfInt &procs, ArrOfInt &buf_sizes, int align_size)](#protected-void-schema-comm-vecteurs-add-int-pe-int-size-arrofint-ref-procs-arrofint-ref-buf-sizes-int-align-size)
int Schema_Comm_Vecteurs::check_buffers_full() const
Selon status_, verifie que tous les pointeurs de buffers pointent a la fin du buffer aloue pour chaque processeur en emission.
ou reception. Renvoie 0 en cas d’erreur (si un buffer n’a pas ete entierement rempli ou vide)
References
How to cite in this doc:
:ref:`int Schema_Comm_Vecteurs::check_buffers_full() const <protected-int-schema-comm-vecteurs-check-buffers-full-const>`
[int Schema_Comm_Vecteurs::check_buffers_full() const](#protected-int-schema-comm-vecteurs-check-buffers-full-const)
int Schema_Comm_Vecteurs::check_next_area(int pe, int byte_size) const
verifie qu’il reste au moins byte_size octets dans le buffer du processeur pe
References
Referenced By
How to cite in this doc:
:ref:`int Schema_Comm_Vecteurs::check_next_area(int pe, int byte_size) const <protected-int-schema-comm-vecteurs-check-next-area-int-pe-int-byte-size-const>`
[int Schema_Comm_Vecteurs::check_next_area(int pe, int byte_size) const](#protected-int-schema-comm-vecteurs-check-next-area-int-pe-int-byte-size-const)
Attributes Documentation#
bool Schema_Comm_Vecteurs::bufferOnDevice_ = false
int Schema_Comm_Vecteurs::min_buf_size_ = - 1
ArrOfInt Schema_Comm_Vecteurs::recv_buf_sizes_
ArrOfInt Schema_Comm_Vecteurs::recv_procs_
ArrOfInt Schema_Comm_Vecteurs::send_buf_sizes_
ArrOfInt Schema_Comm_Vecteurs::send_procs_
int Schema_Comm_Vecteurs::sorted_ = 1
Status Schema_Comm_Vecteurs::status_
bool Schema_Comm_Vecteurs::use_gpu_aware_mpi_ = false
bool Schema_Comm_Vecteurs::buffer_locked_
Schema_Comm_Vecteurs_Static_Data Schema_Comm_Vecteurs::sdata_
ArrOfDouble Schema_Comm_Vecteurs::tmp_area_double_
ArrOfFloat Schema_Comm_Vecteurs::tmp_area_float_
ArrOfInt Schema_Comm_Vecteurs::tmp_area_int_
ArrOfTID Schema_Comm_Vecteurs::tmp_area_tid_
Enums#
Schema_Comm_Vecteurs::Status#
Location: trust-code/src/Kernel/Utilitaires/Schema_Comm_Vecteurs.h:95
How to cite in this doc:
:ref:`Schema\_Comm\_Vecteurs::Status <enum-none-schema-comm-vecteurs-status>`
[Schema\_Comm\_Vecteurs::Status](#enum-none-schema-comm-vecteurs-status)
RESET
BEGIN_INIT
END_INIT
BEGIN_COMM
EXCHANGED