#include <stdlib.h>
#include "bsp_abort.h"
#include "bsp_exptable.h"
#include <config.h>
Include dependency graph for bsp_memreg.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Functions | |
void | memoryRegister_initialize (ExpandableTable *restrict, const int, const int, const int) |
void | memoryRegister_destruct (ExpandableTable *restrict) |
void | memoryRegister_expand (ExpandableTable *restrict, const int) |
void | memoryRegister_push (ExpandableTable *restrict, const int, const char *const restrict) |
void | memoryRegister_pop (ExpandableTable *restrict, const int, const char *const restrict) |
void | memoryRegister_pack (ExpandableTable *restrict) |
static MemRegElement | memoryRegister_find (const ExpandableTable *restrict table, const int sp, const int dp, const char *const pointer) |
looks up a the address on a remote processor which corresponds to an address on the local processor | |
static MemRegElement | memoryRegister_memoized_find (const ExpandableTable *restrict table, const int dp, const char *const pointer) |
looks up the address on a remote processor which corresponds to an address on the local processor. |
MemoryRegister is a table containing memory locations of variables on all processors. Memory locations on the same row are bsp_push_reg()'ed on all processors at the same time (at the same position in the code)
Definition in file bsp_memreg.h.
|
|
|
|
|
looks up a the address on a remote processor which corresponds to an address on the local processor
Definition at line 64 of file bsp_memreg.h. References bsp_intern_abort(), and ERR_POP_REG_WITHOUT_PUSH. Here is the call graph for this function: |
|
|
|
looks up the address on a remote processor which corresponds to an address on the local processor. This function is memoized and depends on the MemoryRegisters state of being 'packed'. If not, this function will not function properly
Definition at line 91 of file bsp_memreg.h. |
|
|
|
|
|
|