PPL Logo

libs/ck-libs/ampi/romio/adio/common/ad_coll_build_req_new.c File Reference

Go to the source code of this file.

Functions

static ADIO_Offset view_state_get_cur_sz (view_state *tmp_view_state_p, int op_type)
static ADIO_Offset view_state_get_next_len (view_state *tmp_view_state_p, int op_type)
static int view_state_add_region (ADIO_Offset max_sz, view_state *tmp_view_state_p, ADIO_Offset *st_reg_p, ADIO_Offset *tmp_reg_sz_p, int op_type)
int ADIOI_init_view_state (int file_ptr_type, int nprocs, view_state *view_state_arr, int op_type)
static int get_next_fr_off (ADIO_File fd, ADIO_Offset off, ADIO_Offset fr_st_off, MPI_Datatype *fr_type_p, ADIO_Offset *fr_next_off_p, ADIO_Offset *fr_max_len_p)
static int find_next_off (ADIO_File fd, view_state *view_state_p, ADIO_Offset fr_st_off, MPI_Datatype *fr_type_p, int op_type, ADIO_Offset *cur_off_p, ADIO_Offset *cur_reg_max_len_p)
int ADIOI_Build_agg_reqs (ADIO_File fd, int rw_type, int nprocs, view_state *client_file_view_state_arr, MPI_Datatype *client_comm_dtype_arr, ADIO_Offset *client_comm_sz_arr, ADIO_Offset *agg_dtype_offset_p, MPI_Datatype *agg_dtype_p)
int ADIOI_Build_client_reqs (ADIO_File fd, int nprocs, view_state *my_mem_view_state_arr, view_state *agg_file_view_state_arr, ADIO_Offset *agg_comm_sz_arr, MPI_Datatype *agg_comm_dtype_arr)
int ADIOI_Build_client_pre_req (ADIO_File fd, int agg_rank, int agg_idx, view_state *my_mem_view_state_p, view_state *agg_file_view_state_p, ADIO_Offset max_pre_req_sz, int max_ol_ct)
static int process_pre_req (ADIO_File fd, int agg_rank, int agg_idx, view_state *my_mem_view_state_p, view_state *agg_file_view_state_p, ADIO_Offset agg_comm_sz, int off_type, MPI_Aint *agg_disp_arr, int *agg_blk_arr, ADIO_Offset *agg_comm_pre_sz_p, ADIO_Offset *agg_comm_cur_sz_p, ADIO_Offset *agg_comm_sz_p, int *agg_ol_cur_ct_p, int *agg_ol_ct_p, ADIO_Offset *agg_mem_next_off_p)
int ADIOI_Build_client_req (ADIO_File fd, int agg_rank, int agg_idx, view_state *my_mem_view_state_p, view_state *agg_file_view_state_p, ADIO_Offset agg_comm_sz, MPI_Datatype *agg_comm_dtype_p)

Variables

static char * off_type_name [MAX_OFF_TYPE]


Function Documentation

static ADIO_Offset view_state_get_cur_sz ( view_state tmp_view_state_p,
int  op_type 
) [inline, static]

Definition at line 31 of file ad_coll_build_req_new.c.

References view_state::cur_state, flatten_state::cur_sz, and view_state::tmp_state.

Referenced by ADIOI_Build_client_reqs().

Here is the caller graph for this function:

static ADIO_Offset view_state_get_next_len ( view_state tmp_view_state_p,
int  op_type 
) [inline, static]

static int view_state_add_region ( ADIO_Offset  max_sz,
view_state tmp_view_state_p,
ADIO_Offset st_reg_p,
ADIO_Offset tmp_reg_sz_p,
int  op_type 
) [inline, static]

int ADIOI_init_view_state ( int  file_ptr_type,
int  nprocs,
view_state view_state_arr,
int  op_type 
)

static int get_next_fr_off ( ADIO_File  fd,
ADIO_Offset  off,
ADIO_Offset  fr_st_off,
MPI_Datatype fr_type_p,
ADIO_Offset fr_next_off_p,
ADIO_Offset fr_max_len_p 
) [inline, static]

Definition at line 275 of file ad_coll_build_req_new.c.

References assert, ADIOI_Fl_node::blocklens, ADIOI_Fl_node::count, ADIOI_Fl_node::indices, ADIOI_Fl_node::next, and ADIOI_Fl_node::type.

Referenced by find_next_off().

Here is the caller graph for this function:

static int find_next_off ( ADIO_File  fd,
view_state view_state_p,
ADIO_Offset  fr_st_off,
MPI_Datatype fr_type_p,
int  op_type,
ADIO_Offset cur_off_p,
ADIO_Offset cur_reg_max_len_p 
) [inline, static]

int ADIOI_Build_agg_reqs ( ADIO_File  fd,
int  rw_type,
int  nprocs,
view_state client_file_view_state_arr,
MPI_Datatype client_comm_dtype_arr,
ADIO_Offset client_comm_sz_arr,
ADIO_Offset agg_dtype_offset_p,
MPI_Datatype agg_dtype_p 
)

int ADIOI_Build_client_reqs ( ADIO_File  fd,
int  nprocs,
view_state my_mem_view_state_arr,
view_state agg_file_view_state_arr,
ADIO_Offset agg_comm_sz_arr,
MPI_Datatype agg_comm_dtype_arr 
)

int ADIOI_Build_client_pre_req ( ADIO_File  fd,
int  agg_rank,
int  agg_idx,
view_state my_mem_view_state_p,
view_state agg_file_view_state_p,
ADIO_Offset  max_pre_req_sz,
int  max_ol_ct 
)

static int process_pre_req ( ADIO_File  fd,
int  agg_rank,
int  agg_idx,
view_state my_mem_view_state_p,
view_state agg_file_view_state_p,
ADIO_Offset  agg_comm_sz,
int  off_type,
MPI_Aint agg_disp_arr,
int agg_blk_arr,
ADIO_Offset agg_comm_pre_sz_p,
ADIO_Offset agg_comm_cur_sz_p,
ADIO_Offset agg_comm_sz_p,
int agg_ol_cur_ct_p,
int agg_ol_ct_p,
ADIO_Offset agg_mem_next_off_p 
) [static]

Definition at line 1580 of file ad_coll_build_req_new.c.

References assert, view_state::pre_blk_arr, view_state::pre_disp_arr, view_state::pre_ol_ct, and view_state::pre_sz.

Referenced by ADIOI_Build_client_req().

Here is the caller graph for this function:

int ADIOI_Build_client_req ( ADIO_File  fd,
int  agg_rank,
int  agg_idx,
view_state my_mem_view_state_p,
view_state agg_file_view_state_p,
ADIO_Offset  agg_comm_sz,
MPI_Datatype agg_comm_dtype_p 
)


Variable Documentation

char* off_type_name[MAX_OFF_TYPE] [static]


Generated on Mon Sep 21 08:05:08 2020 for Charm++ by  doxygen 1.5.5