AdjoinableMPI
|
#include <stdlib.h>
#include <assert.h>
#include <string.h>
#include <stdio.h>
#include <mpi.h>
#include "ampi/libCommon/modified.h"
#include "ampi/bookkeeping/support.h"
#include "ampi/adTool/support.h"
Go to the source code of this file.
Functions | |
void | AMPI_WIN_STACK_push (AMPI_Win_stack *s, AMPI_WinRequest val) |
AMPI_WinRequest | AMPI_WIN_STACK_pop (AMPI_Win_stack *s) |
void | AMPI_WIN_STACK_stack_init (AMPI_Win_stack *s) |
void | AMPI_WIN_STACK_destroy (AMPI_Win_stack *s) |
int | AMPI_WIN_STACK_full (AMPI_Win_stack *s) |
void | AMPI_WIN_STACK_expand (AMPI_Win_stack *s) |
void | AMPI_WIN_STACK_shrink (AMPI_Win_stack *s) |
int | AMPI_WIN_STACK_empty (AMPI_Win_stack *s) |
void | AMPI_WIN_sync (AMPI_Win win) |
void AMPI_WIN_STACK_destroy | ( | AMPI_Win_stack * | s) |
Definition at line 43 of file window.c.
References AMPI_WINDOW_STACK_CHUNK_SIZE, AMPI_Win_stack::size, AMPI_Win_stack::top, and AMPI_Win_stack::v.
Referenced by BW_AMPI_Win_create().
int AMPI_WIN_STACK_empty | ( | AMPI_Win_stack * | s) |
Definition at line 71 of file window.c.
References AMPI_WINDOW_STACK_CHUNK_SIZE, AMPI_Win_stack::size, and AMPI_Win_stack::top.
void AMPI_WIN_STACK_expand | ( | AMPI_Win_stack * | s) |
Definition at line 53 of file window.c.
References AMPI_WINDOW_STACK_CHUNK_SIZE, AMPI_Win_stack::size, and AMPI_Win_stack::v.
Referenced by AMPI_WIN_STACK_push().
int AMPI_WIN_STACK_full | ( | AMPI_Win_stack * | s) |
Definition at line 49 of file window.c.
References AMPI_Win_stack::size, and AMPI_Win_stack::top.
Referenced by AMPI_WIN_STACK_push().
AMPI_WinRequest AMPI_WIN_STACK_pop | ( | AMPI_Win_stack * | s) |
Definition at line 27 of file window.c.
References AMPI_Win_stack::num_reqs, AMPI_Win_stack::top, and AMPI_Win_stack::v.
Referenced by FW_AMPI_Win_fence().
void AMPI_WIN_STACK_push | ( | AMPI_Win_stack * | s, |
AMPI_WinRequest | val | ||
) |
Definition at line 19 of file window.c.
References AMPI_WIN_STACK_expand(), AMPI_WIN_STACK_full(), AMPI_Win_stack::num_reqs, AMPI_Win_stack::top, and AMPI_Win_stack::v.
Referenced by FW_AMPI_Get().
void AMPI_WIN_STACK_shrink | ( | AMPI_Win_stack * | s) |
Definition at line 62 of file window.c.
References AMPI_WINDOW_STACK_CHUNK_SIZE, AMPI_Win_stack::size, and AMPI_Win_stack::v.
void AMPI_WIN_STACK_stack_init | ( | AMPI_Win_stack * | s) |
Definition at line 36 of file window.c.
References AMPI_WINDOW_STACK_CHUNK_SIZE, AMPI_Win_stack::num_reqs, AMPI_Win_stack::size, AMPI_Win_stack::top, and AMPI_Win_stack::v.
Referenced by FW_AMPI_Win_create().