NewMadeleine

Documentation

« back to PM2 home.
nm_mpi_window_s Struct Reference

Content for MPI_Win. More...

#include <nm_mpi_private.h>

Collaboration diagram for nm_mpi_window_s:

Data Fields

int id
 identifier of the window
 
int myrank
 window's rank into the communicator
 
void * p_base
 data base address of the window
 
nm_mpi_aint_tsize
 window's memory size
 
int * disp_unit
 displacement unit
 
int * win_ids
 Distant windows id.
 
nm_mpi_communicator_tp_comm
 window communicator
 
nm_group_t p_group
 group of processor that interact with this window
 
struct nm_sr_monitor_s monitor
 window core monitor for asynchronous call
 
struct nm_sr_monitor_s monitor_sync
 window core monitor for asynchronous lock
 
struct nm_mpi_info_sp_info
 WINDOW ATTRIBUTES

 
int flavor
 bit-vector window's flavor (the function used to allocate the window
 
int mode
 bit-vector OR of MPI_MODE_* constants (used in assert)
 
int mem_model
 window memory model
 
nm_mpi_errhandler_tp_errhandler
 error handler attached to window
 
char * name
 window name
 
struct nm_mpi_attrs_s attrs
 window attributes, hashed by keyval descriptor
 
uint16_t next_seq
 SEQUENCE/EPOCH NUMBER MANAGEMENT

 
nm_mpi_win_epoch_taccess
 epoch management
 
nm_mpi_win_epoch_texposure
 
nm_mpi_request_t ** end_reqs
 pending closing exposing epoch requests
 
uint64_t * msg_count
 counter to receive the amount of messages to be expected from a given distant window
 
nm_mpi_win_pass_mngmt_t waiting_queue
 management queue for passive target
 
nm_mpi_win_locklist_tpending_ops
 pending passive RMA operation
 
nm_spinlock_t lock
 memory access protecting lock
 
char shared_file_name [32]
 shared memory file name
 

Detailed Description

Content for MPI_Win.

Definition at line 855 of file nm_mpi_private.h.

Field Documentation

◆ access

nm_mpi_win_epoch_t* nm_mpi_window_s::access

epoch management

Definition at line 900 of file nm_mpi_private.h.

◆ attrs

struct nm_mpi_attrs_s nm_mpi_window_s::attrs

window attributes, hashed by keyval descriptor

Definition at line 891 of file nm_mpi_private.h.

◆ disp_unit

int* nm_mpi_window_s::disp_unit

displacement unit

Definition at line 866 of file nm_mpi_private.h.

◆ end_reqs

nm_mpi_request_t** nm_mpi_window_s::end_reqs

pending closing exposing epoch requests

Definition at line 903 of file nm_mpi_private.h.

◆ exposure

nm_mpi_win_epoch_t* nm_mpi_window_s::exposure

Definition at line 901 of file nm_mpi_private.h.

◆ flavor

int nm_mpi_window_s::flavor

bit-vector window's flavor (the function used to allocate the window

Definition at line 881 of file nm_mpi_private.h.

◆ id

int nm_mpi_window_s::id

identifier of the window

Definition at line 858 of file nm_mpi_private.h.

◆ lock

nm_spinlock_t nm_mpi_window_s::lock

memory access protecting lock

Definition at line 911 of file nm_mpi_private.h.

◆ mem_model

int nm_mpi_window_s::mem_model

window memory model

Definition at line 885 of file nm_mpi_private.h.

◆ mode

int nm_mpi_window_s::mode

bit-vector OR of MPI_MODE_* constants (used in assert)

Definition at line 883 of file nm_mpi_private.h.

◆ monitor

struct nm_sr_monitor_s nm_mpi_window_s::monitor

window core monitor for asynchronous call

Definition at line 874 of file nm_mpi_private.h.

◆ monitor_sync

struct nm_sr_monitor_s nm_mpi_window_s::monitor_sync

window core monitor for asynchronous lock

Definition at line 876 of file nm_mpi_private.h.

◆ msg_count

uint64_t* nm_mpi_window_s::msg_count

counter to receive the amount of messages to be expected from a given distant window

Definition at line 905 of file nm_mpi_private.h.

◆ myrank

int nm_mpi_window_s::myrank

window's rank into the communicator

Definition at line 860 of file nm_mpi_private.h.

◆ name

char* nm_mpi_window_s::name

window name

Definition at line 889 of file nm_mpi_private.h.

◆ next_seq

uint16_t nm_mpi_window_s::next_seq

SEQUENCE/EPOCH NUMBER MANAGEMENT

sequence number for thread safety and message scheduling /!\ WARNING : As this number is on a 16 bits uint, if a lot of operations are issued (more than 65536 per epoch for one target), there is a risk for mismatching responses.

Definition at line 898 of file nm_mpi_private.h.

Referenced by nm_mpi_win_get_next_seq().

◆ p_base

void* nm_mpi_window_s::p_base

data base address of the window

Definition at line 862 of file nm_mpi_private.h.

◆ p_comm

nm_mpi_communicator_t* nm_mpi_window_s::p_comm

window communicator

Definition at line 870 of file nm_mpi_private.h.

◆ p_errhandler

nm_mpi_errhandler_t* nm_mpi_window_s::p_errhandler

error handler attached to window

Definition at line 887 of file nm_mpi_private.h.

◆ p_group

nm_group_t nm_mpi_window_s::p_group

group of processor that interact with this window

Definition at line 872 of file nm_mpi_private.h.

◆ p_info

struct nm_mpi_info_s* nm_mpi_window_s::p_info

WINDOW ATTRIBUTES

infos about the window

Definition at line 879 of file nm_mpi_private.h.

◆ pending_ops

nm_mpi_win_locklist_t* nm_mpi_window_s::pending_ops

pending passive RMA operation

Definition at line 909 of file nm_mpi_private.h.

◆ shared_file_name

char nm_mpi_window_s::shared_file_name[32]

shared memory file name

Definition at line 913 of file nm_mpi_private.h.

◆ size

nm_mpi_aint_t* nm_mpi_window_s::size

window's memory size

Definition at line 864 of file nm_mpi_private.h.

◆ waiting_queue

nm_mpi_win_pass_mngmt_t nm_mpi_window_s::waiting_queue

management queue for passive target

Definition at line 907 of file nm_mpi_private.h.

◆ win_ids

int* nm_mpi_window_s::win_ids

Distant windows id.

Definition at line 868 of file nm_mpi_private.h.


The documentation for this struct was generated from the following file: