Yet Another eXchange Tool 0.11.1
Loading...
Searching...
No Matches
Functions | Variables
xt-ddt-profile.c File Reference

track creation and destruction of MPI derived datatypes More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <mpi.h>
Include dependency graph for xt-ddt-profile.c:

Go to the source code of this file.

Functions

static void init_instr (void)
 
int MPI_Type_dup (MPI_Datatype oldtype, MPI_Datatype *newtype)
 
int MPI_Type_contiguous (int count, MPI_Datatype oldtype, MPI_Datatype *newtype)
 
int MPI_Type_vector (int count, int blocklength, int stride, MPI_Datatype oldtype, MPI_Datatype *newtype)
 
int MPI_Type_hvector (int count, int blocklength, MPI_Aint stride, MPI_Datatype oldtype, MPI_Datatype *newtype)
 
int MPI_Type_create_hvector (int count, int blocklength, MPI_Aint stride, MPI_Datatype oldtype, MPI_Datatype *newtype)
 
int MPI_Type_indexed (int count, XT_MPI2_CONST int array_of_blocklengths[], XT_MPI2_CONST int array_of_displacements[], MPI_Datatype oldtype, MPI_Datatype *newtype)
 
int MPI_Type_hindexed (int count, int array_of_blocklengths[], MPI_Aint array_of_displacements[], MPI_Datatype oldtype, MPI_Datatype *newtype)
 
int MPI_Type_create_hindexed (int count, XT_MPI2_CONST int array_of_blocklengths[], XT_MPI2_CONST MPI_Aint array_of_displacements[], MPI_Datatype oldtype, MPI_Datatype *newtype)
 
int MPI_Type_create_indexed_block (int count, int blocklength, XT_MPI2_CONST int array_of_displacements[], MPI_Datatype oldtype, MPI_Datatype *newtype)
 
int MPI_Type_create_resized (MPI_Datatype oldtype, MPI_Aint lb, MPI_Aint extent, MPI_Datatype *newtype)
 
int MPI_Type_struct (int count, int *array_of_blocklengths, MPI_Aint *array_of_displacements, MPI_Datatype *array_of_types, MPI_Datatype *newtype)
 
int MPI_Type_create_struct (int count, XT_MPI2_CONST int array_of_block_lengths[], XT_MPI2_CONST MPI_Aint array_of_displacements[], XT_MPI2_CONST MPI_Datatype array_of_types[], MPI_Datatype *newtype)
 
int MPI_Type_create_darray (int size, int rank, int ndims, XT_MPI2_CONST int gsize_array[], XT_MPI2_CONST int distrib_array[], XT_MPI2_CONST int darg_array[], XT_MPI2_CONST int psize_array[], int order, MPI_Datatype oldtype, MPI_Datatype *newtype)
 
int MPI_Type_create_subarray (int ndims, XT_MPI2_CONST int size_array[], XT_MPI2_CONST int subsize_array[], XT_MPI2_CONST int start_array[], int order, MPI_Datatype oldtype, MPI_Datatype *newtype)
 
int MPI_Type_free (MPI_Datatype *datatype)
 
int MPI_Type_commit (MPI_Datatype *datatype)
 

Variables

static FILE * dt_out = NULL
 

Detailed Description

track creation and destruction of MPI derived datatypes

Author
Jörg Behrens behre.nosp@m.ns@d.nosp@m.krz.d.nosp@m.e Moritz Hanke hanke.nosp@m.@dkr.nosp@m.z.de Thomas Jahns jahns.nosp@m.@dkr.nosp@m.z.de

Definition in file xt-ddt-profile.c.

Function Documentation

◆ init_instr()

static void init_instr ( void  )
static

Definition at line 59 of file xt-ddt-profile.c.

◆ MPI_Type_commit()

int MPI_Type_commit ( MPI_Datatype *  datatype)
Examples
test_ddt.c, test_exchanger_parallel.c, test_redist_single_array_base.c, and test_redist_single_array_base_parallel.c.

Definition at line 334 of file xt-ddt-profile.c.

Here is the caller graph for this function:

◆ MPI_Type_contiguous()

int MPI_Type_contiguous ( int  count,
MPI_Datatype  oldtype,
MPI_Datatype *  newtype 
)
Examples
test_ddt.c, and test_redist_single_array_base.c.

Definition at line 99 of file xt-ddt-profile.c.

Here is the caller graph for this function:

◆ MPI_Type_create_darray()

int MPI_Type_create_darray ( int  size,
int  rank,
int  ndims,
XT_MPI2_CONST int  gsize_array[],
XT_MPI2_CONST int  distrib_array[],
XT_MPI2_CONST int  darg_array[],
XT_MPI2_CONST int  psize_array[],
int  order,
MPI_Datatype  oldtype,
MPI_Datatype *  newtype 
)

Definition at line 296 of file xt-ddt-profile.c.

◆ MPI_Type_create_hindexed()

int MPI_Type_create_hindexed ( int  count,
XT_MPI2_CONST int  array_of_blocklengths[],
XT_MPI2_CONST MPI_Aint  array_of_displacements[],
MPI_Datatype  oldtype,
MPI_Datatype *  newtype 
)
Examples
test_ddt.c.

Definition at line 185 of file xt-ddt-profile.c.

Here is the caller graph for this function:

◆ MPI_Type_create_hvector()

int MPI_Type_create_hvector ( int  count,
int  blocklength,
MPI_Aint  stride,
MPI_Datatype  oldtype,
MPI_Datatype *  newtype 
)
Examples
test_ddt.c.

Definition at line 131 of file xt-ddt-profile.c.

Here is the caller graph for this function:

◆ MPI_Type_create_indexed_block()

int MPI_Type_create_indexed_block ( int  count,
int  blocklength,
XT_MPI2_CONST int  array_of_displacements[],
MPI_Datatype  oldtype,
MPI_Datatype *  newtype 
)
Examples
test_ddt.c, test_redist_single_array_base.c, and test_redist_single_array_base_parallel.c.

Definition at line 205 of file xt-ddt-profile.c.

Here is the caller graph for this function:

◆ MPI_Type_create_resized()

int MPI_Type_create_resized ( MPI_Datatype  oldtype,
MPI_Aint  lb,
MPI_Aint  extent,
MPI_Datatype *  newtype 
)
Examples
test_ddt.c.

Definition at line 239 of file xt-ddt-profile.c.

Here is the caller graph for this function:

◆ MPI_Type_create_struct()

int MPI_Type_create_struct ( int  count,
XT_MPI2_CONST int  array_of_block_lengths[],
XT_MPI2_CONST MPI_Aint  array_of_displacements[],
XT_MPI2_CONST MPI_Datatype  array_of_types[],
MPI_Datatype *  newtype 
)
Examples
test_ddt.c.

Definition at line 273 of file xt-ddt-profile.c.

Here is the caller graph for this function:

◆ MPI_Type_create_subarray()

int MPI_Type_create_subarray ( int  ndims,
XT_MPI2_CONST int  size_array[],
XT_MPI2_CONST int  subsize_array[],
XT_MPI2_CONST int  start_array[],
int  order,
MPI_Datatype  oldtype,
MPI_Datatype *  newtype 
)
Examples
test_ddt.c.

Definition at line 310 of file xt-ddt-profile.c.

◆ MPI_Type_dup()

int MPI_Type_dup ( MPI_Datatype  oldtype,
MPI_Datatype *  newtype 
)
Examples
test_ddt.c.

Definition at line 90 of file xt-ddt-profile.c.

Here is the caller graph for this function:

◆ MPI_Type_free()

int MPI_Type_free ( MPI_Datatype *  datatype)
Examples
test_ddt.c, test_exchanger_parallel.c, test_mpi_generate_datatype.c, test_redist_single_array_base.c, and test_redist_single_array_base_parallel.c.

Definition at line 326 of file xt-ddt-profile.c.

Here is the caller graph for this function:

◆ MPI_Type_hindexed()

int MPI_Type_hindexed ( int  count,
int  array_of_blocklengths[],
MPI_Aint  array_of_displacements[],
MPI_Datatype  oldtype,
MPI_Datatype *  newtype 
)

Definition at line 164 of file xt-ddt-profile.c.

◆ MPI_Type_hvector()

int MPI_Type_hvector ( int  count,
int  blocklength,
MPI_Aint  stride,
MPI_Datatype  oldtype,
MPI_Datatype *  newtype 
)

Definition at line 120 of file xt-ddt-profile.c.

◆ MPI_Type_indexed()

int MPI_Type_indexed ( int  count,
XT_MPI2_CONST int  array_of_blocklengths[],
XT_MPI2_CONST int  array_of_displacements[],
MPI_Datatype  oldtype,
MPI_Datatype *  newtype 
)
Examples
test_ddt.c, and test_exchanger_parallel.c.

Definition at line 144 of file xt-ddt-profile.c.

Here is the caller graph for this function:

◆ MPI_Type_struct()

int MPI_Type_struct ( int  count,
int *  array_of_blocklengths,
MPI_Aint *  array_of_displacements,
MPI_Datatype *  array_of_types,
MPI_Datatype *  newtype 
)

Definition at line 251 of file xt-ddt-profile.c.

◆ MPI_Type_vector()

int MPI_Type_vector ( int  count,
int  blocklength,
int  stride,
MPI_Datatype  oldtype,
MPI_Datatype *  newtype 
)
Examples
test_ddt.c.

Definition at line 109 of file xt-ddt-profile.c.

Here is the caller graph for this function:

Variable Documentation

◆ dt_out

FILE* dt_out = NULL
static

Definition at line 57 of file xt-ddt-profile.c.