AdjoinableMPI
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
nt.c File Reference
#include <mpi.h>
#include "ampi/userIF/nt.h"
#include "ampi/adTool/support.h"
#include <assert.h>
Include dependency graph for nt.c:

Go to the source code of this file.

Functions

int AMPI_Finalize_NT (void)
 
int AMPI_Buffer_attach_NT (void *buffer, int size)
 
int AMPI_Buffer_detach_NT (void *buffer, int *size)
 
int AMPI_Type_contiguous_NT (int count, MPI_Datatype oldtype, MPI_Datatype *newtype)
 
int AMPI_Type_create_struct_NT (int count, int array_of_blocklengths[], MPI_Aint array_of_displacements[], MPI_Datatype array_of_types[], MPI_Datatype *newtype)
 
int AMPI_Type_commit_NT (MPI_Datatype *datatype)
 
int AMPI_Type_create_resized_NT (MPI_Datatype oldtype, MPI_Aint lb, MPI_Aint extent, MPI_Datatype *newtype)
 
int AMPI_Op_create_NT (MPI_User_function *function, int commute, MPI_Op *op)
 
int AMPI_Type_free_NT (MPI_Datatype *datatype)
 
int AMPI_Op_free_NT (MPI_Op *op)
 

Variables

struct ADTOOL_AMPI_FPCollection ourADTOOL_AMPI_FPCollection
 

Function Documentation

int AMPI_Buffer_attach_NT ( void *  buffer,
int  size 
)

this wrapper variant of AMPI_Buffer_attach has no adjoint transformation / trace functionality; to be used outside of the transformed/traced code section

Definition at line 23 of file nt.c.

int AMPI_Buffer_detach_NT ( void *  buffer,
int *  size 
)

this wrapper variant of AMPI_Buffer_detach has no adjoint transformation / trace functionality; to be used outside of the transformed/traced code section

Definition at line 30 of file nt.c.

int AMPI_Finalize_NT ( void  )

this wrapper variant of AMPI_Finalize has no adjoint transformation / trace functionality; to be used outside of the transformed/traced code section

Definition at line 16 of file nt.c.

References ADTOOL_AMPI_cleanupTypes(), releaseDTypeData(), and releaseUOpData().

Referenced by ampi_finalize_nt_().

Here is the call graph for this function:

int AMPI_Op_create_NT ( MPI_User_function *  function,
int  commute,
MPI_Op *  op 
)

Definition at line 190 of file nt.c.

References addUOpData(), and getUOpData().

Here is the call graph for this function:

int AMPI_Op_free_NT ( MPI_Op *  op)

Definition at line 212 of file nt.c.

int AMPI_Type_commit_NT ( MPI_Datatype *  datatype)

Definition at line 165 of file nt.c.

References derivedTypeIdx(), getDTypeData(), and isDerivedType().

Here is the call graph for this function:

int AMPI_Type_contiguous_NT ( int  count,
MPI_Datatype  oldtype,
MPI_Datatype *  newtype 
)
int AMPI_Type_create_resized_NT ( MPI_Datatype  oldtype,
MPI_Aint  lb,
MPI_Aint  extent,
MPI_Datatype *  newtype 
)

Definition at line 171 of file nt.c.

References derivedTypeData::derived_types, derivedTypeIdx(), derivedTypeData::extents, getDTypeData(), isDerivedType(), and derivedTypeData::lbs.

Here is the call graph for this function:

int AMPI_Type_create_struct_NT ( int  count,
int  array_of_blocklengths[],
MPI_Aint  array_of_displacements[],
MPI_Datatype  array_of_types[],
MPI_Datatype *  newtype 
)
int AMPI_Type_free_NT ( MPI_Datatype *  datatype)

Definition at line 206 of file nt.c.

References derivedTypeIdx(), getDTypeData(), and isDerivedType().

Here is the call graph for this function:

Variable Documentation