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

Go to the source code of this file.

Functions

void TAPE_AMPI_init ()
 
static void writeBlob (void *, size_t)
 
static void readBlob (void *, size_t)
 
void popBlob (void *aBlob, size_t aSize)
 
void TAPE_AMPI_resetBottom ()
 
void TAPE_AMPI_resetTop ()
 
void TAPE_AMPI_push_int (int an_int)
 
void TAPE_AMPI_pop_int (int *an_int)
 
void TAPE_AMPI_read_int (int *an_int)
 
void TAPE_AMPI_push_MPI_Aint (MPI_Aint an_MPI_Aint)
 
void TAPE_AMPI_pop_MPI_Aint (MPI_Aint *an_MPI_Aint)
 
void TAPE_AMPI_read_MPI_Aint (MPI_Aint *an_MPI_Aint)
 
void TAPE_AMPI_push_ptr (void *an_int)
 
void TAPE_AMPI_pop_ptr (void **ptr)
 
void TAPE_AMPI_read_ptr (void **ptr)
 
void TAPE_AMPI_push_MPI_Datatype (MPI_Datatype an_MPI_Datatype)
 
void TAPE_AMPI_pop_MPI_Datatype (MPI_Datatype *an_MPI_Datatype)
 
void TAPE_AMPI_read_MPI_Datatype (MPI_Datatype *an_MPI_Datatype)
 
void TAPE_AMPI_push_MPI_Comm (MPI_Comm an_MPI_Comm)
 
void TAPE_AMPI_pop_MPI_Comm (MPI_Comm *an_MPI_Comm)
 
void TAPE_AMPI_read_MPI_Comm (MPI_Comm *an_MPI_Comm)
 
void TAPE_AMPI_push_MPI_Request (MPI_Request an_MPI_Request)
 
void TAPE_AMPI_pop_MPI_Request (MPI_Request *an_MPI_Request)
 
void TAPE_AMPI_read_MPI_Request (MPI_Request *an_MPI_Request)
 
void TAPE_AMPI_push_MPI_Op (MPI_Op an_MPI_Op)
 
void TAPE_AMPI_pop_MPI_Op (MPI_Op *an_MPI_Op)
 
void TAPE_AMPI_read_MPI_Op (MPI_Op *an_MPI_Op)
 
void TAPE_AMPI_push_double (double a_double)
 
void TAPE_AMPI_pop_double (double *a_double)
 
void TAPE_AMPI_read_double (double *a_double)
 
void TAPE_AMPI_push_MPI_Win (MPI_Win an_MPI_Win)
 
void TAPE_AMPI_pop_MPI_Win (MPI_Win *an_MPI_Win)
 
void TAPE_AMPI_read_MPI_Win (MPI_Win *an_MPI_Win)
 

Variables

static void * myTapeStorage =0
 
static size_t myTapeStorageSize =0
 
static void * myStack_p =0
 
static void * myRead_p =0
 
static void * myStackTop_p =0
 

Function Documentation

void TAPE_AMPI_init ( )

Definition at line 20 of file support.c.

References myRead_p, myStack_p, myStackTop_p, myTapeStorage, and myTapeStorageSize.

void TAPE_AMPI_pop_double ( double *  a_double)

Definition at line 107 of file support.c.

References popBlob().

Here is the call graph for this function:

void TAPE_AMPI_pop_int ( int *  an_int)

Definition at line 79 of file support.c.

References popBlob().

Here is the call graph for this function:

void TAPE_AMPI_pop_MPI_Aint ( MPI_Aint *  an_MPI_Aint)

Definition at line 83 of file support.c.

References popBlob().

Here is the call graph for this function:

void TAPE_AMPI_pop_MPI_Comm ( MPI_Comm *  an_MPI_Comm)

Definition at line 95 of file support.c.

References popBlob().

Here is the call graph for this function:

void TAPE_AMPI_pop_MPI_Datatype ( MPI_Datatype *  an_MPI_Datatype)

Definition at line 91 of file support.c.

References popBlob().

Here is the call graph for this function:

void TAPE_AMPI_pop_MPI_Op ( MPI_Op *  an_MPI_Op)

Definition at line 103 of file support.c.

References popBlob().

Here is the call graph for this function:

void TAPE_AMPI_pop_MPI_Request ( MPI_Request *  an_MPI_Request)

Definition at line 99 of file support.c.

References popBlob().

Here is the call graph for this function:

void TAPE_AMPI_pop_MPI_Win ( MPI_Win *  an_MPI_Win)

Definition at line 111 of file support.c.

References popBlob().

Here is the call graph for this function:

void TAPE_AMPI_pop_ptr ( void **  ptr)

Definition at line 87 of file support.c.

References popBlob().

Here is the call graph for this function:

void TAPE_AMPI_push_double ( double  a_double)

Definition at line 106 of file support.c.

References writeBlob().

Here is the call graph for this function:

void TAPE_AMPI_push_int ( int  an_int)

Definition at line 78 of file support.c.

References writeBlob().

Here is the call graph for this function:

void TAPE_AMPI_push_MPI_Aint ( MPI_Aint  an_MPI_Aint)

Definition at line 82 of file support.c.

References writeBlob().

Here is the call graph for this function:

void TAPE_AMPI_push_MPI_Comm ( MPI_Comm  an_MPI_Comm)

Definition at line 94 of file support.c.

References writeBlob().

Here is the call graph for this function:

void TAPE_AMPI_push_MPI_Datatype ( MPI_Datatype  an_MPI_Datatype)

Definition at line 90 of file support.c.

References writeBlob().

Here is the call graph for this function:

void TAPE_AMPI_push_MPI_Op ( MPI_Op  an_MPI_Op)

Definition at line 102 of file support.c.

References writeBlob().

Here is the call graph for this function:

void TAPE_AMPI_push_MPI_Request ( MPI_Request  an_MPI_Request)

Definition at line 98 of file support.c.

References writeBlob().

Here is the call graph for this function:

void TAPE_AMPI_push_MPI_Win ( MPI_Win  an_MPI_Win)

Definition at line 110 of file support.c.

References writeBlob().

Here is the call graph for this function:

void TAPE_AMPI_push_ptr ( void *  an_int)

Definition at line 86 of file support.c.

References writeBlob().

Here is the call graph for this function:

void TAPE_AMPI_read_double ( double *  a_double)

Definition at line 108 of file support.c.

References readBlob().

Here is the call graph for this function:

void TAPE_AMPI_read_int ( int *  an_int)

Definition at line 80 of file support.c.

References readBlob().

Here is the call graph for this function:

void TAPE_AMPI_read_MPI_Aint ( MPI_Aint *  an_MPI_Aint)

Definition at line 84 of file support.c.

References readBlob().

Here is the call graph for this function:

void TAPE_AMPI_read_MPI_Comm ( MPI_Comm *  an_MPI_Comm)

Definition at line 96 of file support.c.

References readBlob().

Here is the call graph for this function:

void TAPE_AMPI_read_MPI_Datatype ( MPI_Datatype *  an_MPI_Datatype)

Definition at line 92 of file support.c.

References readBlob().

Here is the call graph for this function:

void TAPE_AMPI_read_MPI_Op ( MPI_Op *  an_MPI_Op)

Definition at line 104 of file support.c.

References readBlob().

Here is the call graph for this function:

void TAPE_AMPI_read_MPI_Request ( MPI_Request *  an_MPI_Request)

Definition at line 100 of file support.c.

References readBlob().

Here is the call graph for this function:

void TAPE_AMPI_read_MPI_Win ( MPI_Win *  an_MPI_Win)

Definition at line 112 of file support.c.

References readBlob().

Here is the call graph for this function:

void TAPE_AMPI_read_ptr ( void **  ptr)

Definition at line 88 of file support.c.

References readBlob().

Here is the call graph for this function:

void TAPE_AMPI_resetBottom ( )

Definition at line 70 of file support.c.

References myRead_p, and myTapeStorage.

void TAPE_AMPI_resetTop ( )

Definition at line 74 of file support.c.

References myStack_p, and myStackTop_p.

Variable Documentation

void* myRead_p =0
static

Definition at line 17 of file support.c.

Referenced by readBlob(), TAPE_AMPI_init(), TAPE_AMPI_resetBottom(), and writeBlob().

void* myStack_p =0
static

Definition at line 16 of file support.c.

Referenced by popBlob(), TAPE_AMPI_init(), TAPE_AMPI_resetTop(), and writeBlob().

void* myStackTop_p =0
static

Definition at line 18 of file support.c.

Referenced by TAPE_AMPI_init(), TAPE_AMPI_resetTop(), and writeBlob().

void* myTapeStorage =0
static

Definition at line 14 of file support.c.

Referenced by popBlob(), readBlob(), TAPE_AMPI_init(), TAPE_AMPI_resetBottom(), and writeBlob().

size_t myTapeStorageSize =0
static

Definition at line 15 of file support.c.

Referenced by readBlob(), TAPE_AMPI_init(), and writeBlob().