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] |
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().
static ADIO_Offset view_state_get_next_len | ( | view_state * | tmp_view_state_p, | |
int | op_type | |||
) | [inline, static] |
Definition at line 50 of file ad_coll_build_req_new.c.
References ADIOI_Fl_node::blocklens, flatten_state::cur_reg_off, view_state::cur_state, view_state::flat_type_p, flatten_state::idx, and view_state::tmp_state.
Referenced by ADIOI_Build_client_pre_req().
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] |
Definition at line 74 of file ad_coll_build_req_new.c.
References flatten_state::abs_off, assert, ADIOI_Fl_node::blocklens, ADIOI_Fl_node::count, flatten_state::cur_reg_off, view_state::cur_state, flatten_state::cur_sz, view_state::ext, view_state::flat_type_p, flatten_state::idx, ADIOI_Fl_node::indices, off_type_name, view_state::sz, and view_state::tmp_state.
Referenced by ADIOI_Build_agg_reqs(), ADIOI_Build_client_pre_req(), ADIOI_Build_client_req(), ADIOI_Build_client_reqs(), ADIOI_init_view_state(), and find_next_off().
int ADIOI_init_view_state | ( | int | file_ptr_type, | |
int | nprocs, | |||
view_state * | view_state_arr, | |||
int | op_type | |||
) |
Definition at line 206 of file ad_coll_build_req_new.c.
References flatten_state::abs_off, ADIOI_Fl_node::blocklens, view_state::byte_off, ADIOI_Fl_node::count, flatten_state::cur_reg_off, view_state::cur_state, flatten_state::cur_sz, view_state::disp, view_state::flat_type_p, view_state::fp_ind, flatten_state::idx, ADIOI_Fl_node::indices, off_type_name, view_state::sz, view_state::tmp_state, and view_state_add_region().
Referenced by ADIOI_Exch_file_views().
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().
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] |
Definition at line 334 of file ad_coll_build_req_new.c.
References flatten_state::abs_off, ADIOI_Fl_node::count, view_state::cur_state, flatten_state::cur_sz, view_state::ext, view_state::flat_type_p, get_next_fr_off(), view_state::sz, view_state::tmp_state, view_state::type_sz, and view_state_add_region().
Referenced by ADIOI_Build_agg_reqs(), ADIOI_Build_client_pre_req(), ADIOI_Build_client_req(), and ADIOI_Build_client_reqs().
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 | |||
) |
Definition at line 450 of file ad_coll_build_req_new.c.
References ADIOI_Heap_create(), ADIOI_Heap_extract_min(), ADIOI_Heap_free(), ADIOI_Heap_insert(), ADIOI_HINT_AUTO, ADIOI_HINT_ENABLE, assert, ADIOI_Hints_struct::cb_buffer_size, ADIOI_Hints_struct::cb_nodes, ADIOI_Hints_struct::ds_write, ADIOI_FileD::file_realm_st_offs, ADIOI_FileD::file_realm_types, find_next_off(), ADIOI_FileD::hints, MPI_Type_contiguous, MPI_Type_hindexed, ADIOI_FileD::my_cb_nodes_index, off_type_name, heap_t::size, view_state::sz, and view_state_add_region().
Referenced by ADIOI_IOStridedColl().
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 | |||
) |
Definition at line 887 of file ad_coll_build_req_new.c.
References ADIOI_Agg_idx(), assert, ADIOI_Hints_struct::cb_nodes, ADIOI_FileD::file_realm_st_offs, ADIOI_FileD::file_realm_types, find_next_off(), ADIOI_FileD::hints, MPI_Type_hindexed, off_type_name, view_state_add_region(), and view_state_get_cur_sz().
Referenced by ADIOI_IOStridedColl().
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 | |||
) |
Definition at line 1240 of file ad_coll_build_req_new.c.
References flatten_state::abs_off, assert, ADIOI_Hints_struct::cb_nodes, ADIOI_Fl_node::count, view_state::cur_state, flatten_state::cur_sz, view_state::ext, ADIOI_FileD::file_realm_st_offs, ADIOI_FileD::file_realm_types, find_next_off(), view_state::flat_type_p, ADIOI_FileD::hints, off_type_name, view_state::pre_blk_arr, view_state::pre_disp_arr, view_state::pre_ol_ct, view_state::pre_sz, view_state::sz, view_state::tmp_state, view_state::type_sz, view_state_add_region(), and view_state_get_next_len().
Referenced by ADIOI_IOStridedColl().
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().
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 | |||
) |
Definition at line 1779 of file ad_coll_build_req_new.c.
References flatten_state::abs_off, assert, ADIOI_Hints_struct::cb_nodes, ADIOI_Fl_node::count, view_state::cur_state, flatten_state::cur_sz, view_state::ext, ADIOI_FileD::file_realm_st_offs, ADIOI_FileD::file_realm_types, find_next_off(), view_state::flat_type_p, ADIOI_FileD::hints, MPI_Type_hindexed, off_type_name, view_state::pre_blk_arr, view_state::pre_disp_arr, view_state::pre_ol_ct, view_state::pre_sz, process_pre_req(), view_state::tmp_state, view_state::type_sz, and view_state_add_region().
Referenced by ADIOI_IOStridedColl().
char* off_type_name[MAX_OFF_TYPE] [static] |
Initial value:
{"TEMP_OFFSETS", "REAL_OFFSETS"}
Definition at line 26 of file ad_coll_build_req_new.c.
Referenced by ADIOI_Build_agg_reqs(), ADIOI_Build_client_pre_req(), ADIOI_Build_client_req(), ADIOI_Build_client_reqs(), ADIOI_init_view_state(), and view_state_add_region().