PPL Logo

libs/ck-libs/ampi/romio/common/dataloop/dataloop_parts.h File Reference

Go to the source code of this file.

Data Structures

struct  DLOOP_Dataloop_contig
struct  DLOOP_Dataloop_vector
struct  DLOOP_Dataloop_blockindexed
struct  DLOOP_Dataloop_indexed
struct  DLOOP_Dataloop_struct
struct  DLOOP_Dataloop_common
struct  DLOOP_Dataloop
struct  DLOOP_Dataloop_stackelm
struct  DLOOP_Segment

Functions

void PREPEND_PREFIX() Dataloop_copy (void *dest, void *src, int size)
void PREPEND_PREFIX() Dataloop_update (DLOOP_Dataloop *dataloop, DLOOP_Offset ptrdiff)
DLOOP_Offset PREPEND_PREFIX() Dataloop_stream_size (DLOOP_Dataloop *dl_p, DLOOP_Offset(*sizefn)(DLOOP_Type el_type))
void PREPEND_PREFIX() Dataloop_print (DLOOP_Dataloop *dataloop, int depth)
void PREPEND_PREFIX() Dataloop_alloc (int kind, DLOOP_Count count, DLOOP_Dataloop **new_loop_p, int *new_loop_sz_p)
void PREPEND_PREFIX() Dataloop_alloc_and_copy (int kind, DLOOP_Count count, DLOOP_Dataloop *old_loop, int old_loop_sz, DLOOP_Dataloop **new_loop_p, int *new_loop_sz_p)
void PREPEND_PREFIX() Dataloop_struct_alloc (DLOOP_Count count, int old_loop_sz, int basic_ct, DLOOP_Dataloop **old_loop_p, DLOOP_Dataloop **new_loop_p, int *new_loop_sz_p)
void PREPEND_PREFIX() Dataloop_dup (DLOOP_Dataloop *old_loop, int old_loop_sz, DLOOP_Dataloop **new_loop_p)
void PREPEND_PREFIX() Dataloop_free (DLOOP_Dataloop **dataloop)
DLOOP_Segment *PREPEND_PREFIX() Segment_alloc (void)
void PREPEND_PREFIX() Segment_free (DLOOP_Segment *segp)
int PREPEND_PREFIX() Segment_init (const DLOOP_Buffer buf, DLOOP_Count count, DLOOP_Handle handle, DLOOP_Segment *segp, int hetero)
void PREPEND_PREFIX() Segment_manipulate (DLOOP_Segment *segp, DLOOP_Offset first, DLOOP_Offset *lastp, int(*piecefn)(DLOOP_Offset *blocks_p, DLOOP_Type el_type, DLOOP_Offset rel_off, DLOOP_Buffer bufp, void *v_paramp), int(*vectorfn)(DLOOP_Offset *blocks_p, DLOOP_Count count, DLOOP_Count blklen, DLOOP_Offset stride, DLOOP_Type el_type, DLOOP_Offset rel_off, DLOOP_Buffer bufp, void *v_paramp), int(*blkidxfn)(DLOOP_Offset *blocks_p, DLOOP_Count count, DLOOP_Count blklen, DLOOP_Offset *offsetarray, DLOOP_Type el_type, DLOOP_Offset rel_off, DLOOP_Buffer bufp, void *v_paramp), int(*indexfn)(DLOOP_Offset *blocks_p, DLOOP_Count count, DLOOP_Count *blockarray, DLOOP_Offset *offsetarray, DLOOP_Type el_type, DLOOP_Offset rel_off, DLOOP_Buffer bufp, void *v_paramp), DLOOP_Offset(*sizefn)(DLOOP_Type el_type), void *pieceparams)
void PREPEND_PREFIX() Segment_count_contig_blocks (DLOOP_Segment *segp, DLOOP_Offset first, DLOOP_Offset *lastp, DLOOP_Count *countp)
void PREPEND_PREFIX() Segment_mpi_flatten (DLOOP_Segment *segp, DLOOP_Offset first, DLOOP_Offset *lastp, int *blklens, MPI_Aint *disps, int *lengthp)
struct PREPEND_PREFIX (m2m_params)
void PREPEND_PREFIX() Segment_pack (struct DLOOP_Segment *segp, DLOOP_Offset first, DLOOP_Offset *lastp, void *streambuf)
void PREPEND_PREFIX() Segment_unpack (struct DLOOP_Segment *segp, DLOOP_Offset first, DLOOP_Offset *lastp, void *streambuf)
int PREPEND_PREFIX() Segment_contig_m2m (DLOOP_Offset *blocks_p, DLOOP_Type el_type, DLOOP_Offset rel_off, void *bufp, void *v_paramp)
int PREPEND_PREFIX() Segment_vector_m2m (DLOOP_Offset *blocks_p, DLOOP_Count count, DLOOP_Count blksz, DLOOP_Offset stride, DLOOP_Type el_type, DLOOP_Offset rel_off, void *bufp, void *v_paramp)
int PREPEND_PREFIX() Segment_blkidx_m2m (DLOOP_Offset *blocks_p, DLOOP_Count count, DLOOP_Count blocklen, DLOOP_Offset *offsetarray, DLOOP_Type el_type, DLOOP_Offset rel_off, void *bufp, void *v_paramp)
int PREPEND_PREFIX() Segment_index_m2m (DLOOP_Offset *blocks_p, DLOOP_Count count, DLOOP_Count *blockarray, DLOOP_Offset *offsetarray, DLOOP_Type el_type, DLOOP_Offset rel_off, void *bufp, void *v_paramp)


Function Documentation

void PREPEND_PREFIX() Dataloop_copy ( void *  dest,
void *  src,
int  size 
)

Definition at line 98 of file dataloop.c.

References Dataloop_update(), dest, PREPEND_PREFIX(), size, and src.

Referenced by Dataloop_alloc_and_copy(), Dataloop_create_struct(), and Dataloop_dup().

Here is the call graph for this function:

Here is the caller graph for this function:

void PREPEND_PREFIX() Dataloop_update ( DLOOP_Dataloop dataloop,
DLOOP_Offset  ptrdiff 
)

Definition at line 136 of file dataloop.c.

References DLOOP_Dataloop_struct::dataloop_array, Dataloop_update(), DLOOP_Dataloop::loop_params, PREPEND_PREFIX(), and DLOOP_Dataloop::s_t.

Referenced by Dataloop_copy(), and Dataloop_update().

Here is the call graph for this function:

Here is the caller graph for this function:

DLOOP_Offset PREPEND_PREFIX() Dataloop_stream_size ( DLOOP_Dataloop dl_p,
DLOOP_Offset(*)(DLOOP_Type el_type)  sizefn 
)

void PREPEND_PREFIX() Dataloop_print ( DLOOP_Dataloop dataloop,
int  depth 
)

void PREPEND_PREFIX() Dataloop_alloc ( int  kind,
DLOOP_Count  count,
DLOOP_Dataloop **  new_loop_p,
int new_loop_sz_p 
)

Definition at line 228 of file dataloop.c.

References count, Dataloop_alloc_and_copy(), and PREPEND_PREFIX().

Referenced by Dataloop_create_blockindexed(), Dataloop_create_contiguous(), Dataloop_create_indexed(), and Dataloop_create_vector().

Here is the call graph for this function:

Here is the caller graph for this function:

void PREPEND_PREFIX() Dataloop_alloc_and_copy ( int  kind,
DLOOP_Count  count,
DLOOP_Dataloop old_loop,
int  old_loop_sz,
DLOOP_Dataloop **  new_loop_p,
int new_loop_sz_p 
)

Definition at line 259 of file dataloop.c.

References count, Dataloop_copy(), cg3d::epsilon, and PREPEND_PREFIX().

Referenced by Dataloop_alloc(), Dataloop_create_blockindexed(), Dataloop_create_contiguous(), Dataloop_create_indexed(), and Dataloop_create_vector().

Here is the call graph for this function:

Here is the caller graph for this function:

void PREPEND_PREFIX() Dataloop_struct_alloc ( DLOOP_Count  count,
int  old_loop_sz,
int  basic_ct,
DLOOP_Dataloop **  old_loop_p,
DLOOP_Dataloop **  new_loop_p,
int new_loop_sz_p 
)

Definition at line 449 of file dataloop.c.

References count, and cg3d::epsilon.

Referenced by Dataloop_create_struct().

Here is the caller graph for this function:

void PREPEND_PREFIX() Dataloop_dup ( DLOOP_Dataloop old_loop,
int  old_loop_sz,
DLOOP_Dataloop **  new_loop_p 
)

Definition at line 547 of file dataloop.c.

References Dataloop_copy(), and PREPEND_PREFIX().

Referenced by Dataloop_create(), and Dataloop_create_contiguous().

Here is the call graph for this function:

Here is the caller graph for this function:

void PREPEND_PREFIX() Dataloop_free ( DLOOP_Dataloop **  dataloop  ) 

Definition at line 60 of file dataloop.c.

Referenced by Dataloop_create_struct().

Here is the caller graph for this function:

DLOOP_Segment* PREPEND_PREFIX() Segment_alloc ( void   )  [read]

Definition at line 220 of file segment.c.

Referenced by DLOOP_Dataloop_create_flattened_struct().

Here is the caller graph for this function:

void PREPEND_PREFIX() Segment_free ( DLOOP_Segment segp  ) 

Definition at line 230 of file segment.c.

Referenced by DLOOP_Dataloop_create_flattened_struct().

Here is the caller graph for this function:

int PREPEND_PREFIX() Segment_init ( const DLOOP_Buffer  buf,
DLOOP_Count  count,
DLOOP_Handle  handle,
DLOOP_Segment segp,
int  hetero 
)

void PREPEND_PREFIX() Segment_manipulate ( DLOOP_Segment segp,
DLOOP_Offset  first,
DLOOP_Offset *  lastp,
int(*)(DLOOP_Offset *blocks_p, DLOOP_Type el_type, DLOOP_Offset rel_off, DLOOP_Buffer bufp, void *v_paramp)  piecefn,
int(*)(DLOOP_Offset *blocks_p, DLOOP_Count count, DLOOP_Count blklen, DLOOP_Offset stride, DLOOP_Type el_type, DLOOP_Offset rel_off, DLOOP_Buffer bufp, void *v_paramp)  vectorfn,
int(*)(DLOOP_Offset *blocks_p, DLOOP_Count count, DLOOP_Count blklen, DLOOP_Offset *offsetarray, DLOOP_Type el_type, DLOOP_Offset rel_off, DLOOP_Buffer bufp, void *v_paramp)  blkidxfn,
int(*)(DLOOP_Offset *blocks_p, DLOOP_Count count, DLOOP_Count *blockarray, DLOOP_Offset *offsetarray, DLOOP_Type el_type, DLOOP_Offset rel_off, DLOOP_Buffer bufp, void *v_paramp)  indexfn,
DLOOP_Offset(*)(DLOOP_Type el_type)  sizefn,
void *  pieceparams 
)

void PREPEND_PREFIX() Segment_count_contig_blocks ( DLOOP_Segment segp,
DLOOP_Offset  first,
DLOOP_Offset *  lastp,
DLOOP_Count *  countp 
)

Definition at line 562 of file segment_ops.c.

References DLOOP_Segment_blkidx_count_block(), DLOOP_Segment_contig_count_block(), DLOOP_Segment_index_count_block(), DLOOP_Segment_vector_count_block(), PREPEND_PREFIX(), and Segment_manipulate().

Referenced by DLOOP_Dataloop_create_flattened_struct().

Here is the call graph for this function:

Here is the caller graph for this function:

void PREPEND_PREFIX() Segment_mpi_flatten ( DLOOP_Segment segp,
DLOOP_Offset  first,
DLOOP_Offset *  lastp,
int blklens,
MPI_Aint disps,
int lengthp 
)

Definition at line 759 of file segment_ops.c.

References DLOOP_Segment_contig_mpi_flatten(), DLOOP_Segment_vector_mpi_flatten(), PREPEND_PREFIX(), and Segment_manipulate().

Referenced by DLOOP_Dataloop_create_flattened_struct().

Here is the call graph for this function:

Here is the caller graph for this function:

struct PREPEND_PREFIX ( m2m_params   )  [read]

void PREPEND_PREFIX() Segment_pack ( struct DLOOP_Segment segp,
DLOOP_Offset  first,
DLOOP_Offset *  lastp,
void *  streambuf 
)

Definition at line 337 of file segment_ops.c.

References PREPEND_PREFIX(), Segment_blkidx_m2m(), Segment_contig_m2m(), Segment_index_m2m(), Segment_manipulate(), and Segment_vector_m2m().

Here is the call graph for this function:

void PREPEND_PREFIX() Segment_unpack ( struct DLOOP_Segment segp,
DLOOP_Offset  first,
DLOOP_Offset *  lastp,
void *  streambuf 
)

Definition at line 362 of file segment_ops.c.

References PREPEND_PREFIX(), Segment_blkidx_m2m(), Segment_contig_m2m(), Segment_index_m2m(), Segment_manipulate(), and Segment_vector_m2m().

Here is the call graph for this function:

int PREPEND_PREFIX() Segment_contig_m2m ( DLOOP_Offset *  blocks_p,
DLOOP_Type  el_type,
DLOOP_Offset  rel_off,
void *  bufp,
void *  v_paramp 
)

Referenced by Segment_pack(), and Segment_unpack().

Here is the caller graph for this function:

int PREPEND_PREFIX() Segment_vector_m2m ( DLOOP_Offset *  blocks_p,
DLOOP_Count  count,
DLOOP_Count  blksz,
DLOOP_Offset  stride,
DLOOP_Type  el_type,
DLOOP_Offset  rel_off,
void *  bufp,
void *  v_paramp 
)

Referenced by Segment_pack(), and Segment_unpack().

Here is the caller graph for this function:

int PREPEND_PREFIX() Segment_blkidx_m2m ( DLOOP_Offset *  blocks_p,
DLOOP_Count  count,
DLOOP_Count  blocklen,
DLOOP_Offset *  offsetarray,
DLOOP_Type  el_type,
DLOOP_Offset  rel_off,
void *  bufp,
void *  v_paramp 
)

Referenced by Segment_pack(), and Segment_unpack().

Here is the caller graph for this function:

int PREPEND_PREFIX() Segment_index_m2m ( DLOOP_Offset *  blocks_p,
DLOOP_Count  count,
DLOOP_Count *  blockarray,
DLOOP_Offset *  offsetarray,
DLOOP_Type  el_type,
DLOOP_Offset  rel_off,
void *  bufp,
void *  v_paramp 
)

Referenced by Segment_pack(), and Segment_unpack().

Here is the caller graph for this function:


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