Go to the source code of this file.
Functions | |
void | ADIOI_Optimize_flattened (ADIOI_Flatlist_node *flat_type) |
void | ADIOI_Flatten_datatype (MPI_Datatype datatype) |
void | ADIOI_Flatten (MPI_Datatype datatype, ADIOI_Flatlist_node *flat, ADIO_Offset st_offset, int *curr_index) |
int | ADIOI_Count_contiguous_blocks (MPI_Datatype datatype, int *curr_index) |
static void | removezeros (ADIOI_Flatlist_node *flat_type) |
void | ADIOI_Delete_flattened (MPI_Datatype datatype) |
void ADIOI_Optimize_flattened | ( | ADIOI_Flatlist_node * | flat_type | ) |
Definition at line 1077 of file flatten.c.
References ADIOI_Fl_node::blocklens, ADIOI_Fl_node::count, and ADIOI_Fl_node::indices.
Referenced by ADIOI_Flatten_datatype().
void ADIOI_Flatten_datatype | ( | MPI_Datatype | datatype | ) |
Definition at line 22 of file flatten.c.
References ADIOI_Count_contiguous_blocks(), ADIOI_Datatype_iscontig(), ADIOI_Flatten(), ADIOI_Optimize_flattened(), ADIOI_Fl_node::blocklens, ADIOI_Fl_node::count, ADIOI_Fl_node::indices, ADIOI_Fl_node::next, and ADIOI_Fl_node::type.
Referenced by ADIO_Set_view(), ADIOI_BGL_ReadStrided(), ADIOI_BGL_WriteStrided(), ADIOI_Calc_file_realms(), ADIOI_Exch_and_write(), ADIOI_Exch_file_views(), ADIOI_GEN_ReadStrided(), ADIOI_GEN_ReadStrided_naive(), ADIOI_GEN_WriteStrided(), ADIOI_GEN_WriteStrided_naive(), ADIOI_GRIDFTP_ReadDiscontig(), ADIOI_GRIDFTP_WriteDiscontig(), ADIOI_IOFiletype(), ADIOI_LUSTRE_Exch_and_write(), ADIOI_LUSTRE_WriteStrided(), ADIOI_NFS_ReadStrided(), ADIOI_NFS_WriteStrided(), ADIOI_NOLOCK_WriteStrided(), ADIOI_PIOFS_WriteStrided(), ADIOI_PVFS2_OldReadStrided(), ADIOI_PVFS2_OldWriteStrided(), ADIOI_PVFS2_StridedListIO(), ADIOI_PVFS_ReadStridedListIO(), ADIOI_PVFS_WriteStrided(), ADIOI_PVFS_WriteStridedListIO(), ADIOI_Read_and_exch(), ADIOI_ZOIDFS_ReadStrided(), and ADIOI_ZOIDFS_WriteStrided().
void ADIOI_Flatten | ( | MPI_Datatype | datatype, | |
ADIOI_Flatlist_node * | flat, | |||
ADIO_Offset | st_offset, | |||
int * | curr_index | |||
) |
Definition at line 112 of file flatten.c.
References ADIO_Type_create_darray(), ADIO_Type_create_subarray(), ADIOI_Datatype_iscontig(), ADIOI_Flatten(), blocklength, ADIOI_Fl_node::blocklens, dims, dtype, ADIOI_Fl_node::indices, int, PUP::m, MPI_Abort, MPI_Type_free, MPI_Type_get_contents, MPI_Type_size, n, stride, and stype.
Referenced by ADIOI_Flatten(), and ADIOI_Flatten_datatype().
int ADIOI_Count_contiguous_blocks | ( | MPI_Datatype | datatype, | |
int * | curr_index | |||
) |
Definition at line 737 of file flatten.c.
References ADIO_Type_create_darray(), ADIO_Type_create_subarray(), ADIOI_Count_contiguous_blocks(), ADIOI_Datatype_iscontig(), count, dims, dtype, int, MPI_Abort, MPI_Type_free, MPI_Type_get_contents, n, and stype.
Referenced by ADIOI_Count_contiguous_blocks(), and ADIOI_Flatten_datatype().
static void removezeros | ( | ADIOI_Flatlist_node * | flat_type | ) | [static] |
Definition at line 1020 of file flatten.c.
References ADIOI_Fl_node::blocklens, ADIOI_Fl_node::count, and ADIOI_Fl_node::indices.
void ADIOI_Delete_flattened | ( | MPI_Datatype | datatype | ) |
Definition at line 1121 of file flatten.c.
References ADIOI_Fl_node::blocklens, ADIOI_Fl_node::indices, ADIOI_Fl_node::next, and ADIOI_Fl_node::type.
Referenced by ADIO_Close(), ADIO_Set_view(), ADIOI_BGL_ReadStrided(), ADIOI_BGL_ReadStridedColl(), ADIOI_BGL_WriteStrided(), ADIOI_BGL_WriteStridedColl(), ADIOI_GEN_ReadStrided(), ADIOI_GEN_ReadStrided_naive(), ADIOI_GEN_ReadStridedColl(), ADIOI_GEN_WriteStrided(), ADIOI_GEN_WriteStrided_naive(), ADIOI_GEN_WriteStridedColl(), ADIOI_IOFiletype(), ADIOI_IOStridedColl(), ADIOI_LUSTRE_WriteStrided(), ADIOI_LUSTRE_WriteStridedColl(), ADIOI_NFS_ReadStrided(), ADIOI_NFS_WriteStrided(), ADIOI_NOLOCK_WriteStrided(), ADIOI_PIOFS_WriteStrided(), ADIOI_PVFS2_OldReadStrided(), ADIOI_PVFS2_OldWriteStrided(), ADIOI_PVFS2_StridedListIO(), ADIOI_PVFS_ReadStridedListIO(), ADIOI_PVFS_WriteStrided(), ADIOI_PVFS_WriteStridedListIO(), ADIOI_ZOIDFS_ReadStrided(), and ADIOI_ZOIDFS_WriteStrided().