|
libxmp/libxmpf in Omni Compiler
1.3.4
|

Functions | |
| size_t | xmp_coarray_malloc_bytes () |
| size_t | xmp_coarray_allocated_bytes () |
| size_t | xmp_coarray_garbage_bytes () |
| CoarrayInfo_t * | XMPCO_malloc_coarray (char **addr, int count, size_t element, ResourceSet_t *rset) |
| CoarrayInfo_t * | XMPCO_regmem_coarray (void *var, int count, size_t element, ResourceSet_t *rset) |
| CoarrayInfo_t * | XMPCO_malloc_staticCoarray (char **addr, int count, size_t element, int namelen, char *name) |
| have a share of memory in the pool (if not larger than threshold) or allocate individually (if larger than threshold) out: return : pointer to descriptor CoarrayInfo_t addr : address of the coarray object to be allocated in: count : count of elements element: element size namelen: character length of name (for debugging) name : name of the coarray (for debugging) More... | |
| CoarrayInfo_t * | XMPCO_regmem_staticCoarray (void *var, int count, size_t element, int namelen, char *name) |
| Similar to _alloc_static_coarray() except that the coarray is allocated not by the runtime but by the Fortran system. More... | |
| void | XMPCO_free_coarray (CoarrayInfo_t *cinfo) |
| void | XMPCO_deregmem_coarray (CoarrayInfo_t *cinfo) |
| void | XMPCO_malloc_pool () |
| void | XMPCO_count_size (int count, size_t element) |
| MPI_Comm | _XMPCO_get_comm_fromCoarrayInfo (CoarrayInfo_t *cinfo) |
| void | XMPCO_prolog (ResourceSet_t **rsetp, int namelen, char *name) |
| void | XMPCO_epilog (ResourceSet_t **rsetp) |
| CoarrayInfo_t * | XMPCO_find_descptr (char *addr, int namelen, char *name) |
| generate and return a descriptor for a coarray DUMMY ARGUMENT More... | |
| void | _XMPCO_set_corank (CoarrayInfo_t *cp, int corank) |
| void | _XMPCO_set_codim_withBounds (CoarrayInfo_t *cp, int dim, int lb, int ub) |
| void | _XMPCO_set_codim_withSize (CoarrayInfo_t *cp, int dim, int lb, int size) |
| void | _XMPCO_set_varname (CoarrayInfo_t *cp, int namelen, char *name) |
| CoarrayInfo_t * | _XMPCO_set_nodes (CoarrayInfo_t *cinfo, _XMP_nodes_t *nodes) |
| char * | _XMPCO_get_nameOfCoarray (CoarrayInfo_t *cinfo) |
| char * | _XMPCO_get_baseAddrOfCoarray (CoarrayInfo_t *cinfo) |
| size_t | _XMPCO_get_sizeOfCoarray (CoarrayInfo_t *cinfo) |
| size_t | _XMPCO_get_offsetInCoarray (CoarrayInfo_t *cinfo, char *addr) |
| void * | _XMPCO_get_descForMemoryChunk (CoarrayInfo_t *cinfo) |
| char * | _XMPCO_get_orgAddrOfMemoryChunk (CoarrayInfo_t *cinfo) |
| size_t | _XMPCO_get_sizeOfMemoryChunk (CoarrayInfo_t *cinfo) |
| size_t | _XMPCO_get_offsetInMemoryChunk (CoarrayInfo_t *cinfo, char *addr) |
| BOOL | _XMPCO_isAddrInMemoryChunk (char *localAddr, CoarrayInfo_t *cinfo) |
| void * | _XMPCO_get_infoOfCtrlData (char **baseAddr, size_t *offset, char **name) |
| void * | _XMPCO_get_infoOfLocalBuf (char **baseAddr, size_t *offset, char **name) |
| void * | _XMPCO_get_desc_fromLocalAddr (char *localAddr, char **orgAddr, size_t *offset, char **name) |
| int | _XMPCO_nowInTask () |
| void | _XMPCO_checkIfInTask (char *msgopt) |
Variables | |
| struct { | |
| MemoryChunkOrder_t * head | |
| MemoryChunkOrder_t * tail | |
| } | _mallocStack |
| void _XMPCO_checkIfInTask | ( | char * | msgopt | ) |

| char* _XMPCO_get_baseAddrOfCoarray | ( | CoarrayInfo_t * | cinfo | ) |
| MPI_Comm _XMPCO_get_comm_fromCoarrayInfo | ( | CoarrayInfo_t * | cinfo | ) |

| void* _XMPCO_get_desc_fromLocalAddr | ( | char * | localAddr, |
| char ** | orgAddr, | ||
| size_t * | offset, | ||
| char ** | name | ||
| ) |

| void* _XMPCO_get_descForMemoryChunk | ( | CoarrayInfo_t * | cinfo | ) |

| void* _XMPCO_get_infoOfCtrlData | ( | char ** | baseAddr, |
| size_t * | offset, | ||
| char ** | name | ||
| ) |
| void* _XMPCO_get_infoOfLocalBuf | ( | char ** | baseAddr, |
| size_t * | offset, | ||
| char ** | name | ||
| ) |

| char* _XMPCO_get_nameOfCoarray | ( | CoarrayInfo_t * | cinfo | ) |
| size_t _XMPCO_get_offsetInCoarray | ( | CoarrayInfo_t * | cinfo, |
| char * | addr | ||
| ) |
| size_t _XMPCO_get_offsetInMemoryChunk | ( | CoarrayInfo_t * | cinfo, |
| char * | addr | ||
| ) |
| char* _XMPCO_get_orgAddrOfMemoryChunk | ( | CoarrayInfo_t * | cinfo | ) |
| size_t _XMPCO_get_sizeOfCoarray | ( | CoarrayInfo_t * | cinfo | ) |
| size_t _XMPCO_get_sizeOfMemoryChunk | ( | CoarrayInfo_t * | cinfo | ) |

| BOOL _XMPCO_isAddrInMemoryChunk | ( | char * | localAddr, |
| CoarrayInfo_t * | cinfo | ||
| ) |


| int _XMPCO_nowInTask | ( | void | ) |


| void _XMPCO_set_codim_withBounds | ( | CoarrayInfo_t * | cp, |
| int | dim, | ||
| int | lb, | ||
| int | ub | ||
| ) |

| void _XMPCO_set_codim_withSize | ( | CoarrayInfo_t * | cp, |
| int | dim, | ||
| int | lb, | ||
| int | size | ||
| ) |

| void _XMPCO_set_corank | ( | CoarrayInfo_t * | cp, |
| int | corank | ||
| ) |
| CoarrayInfo_t* _XMPCO_set_nodes | ( | CoarrayInfo_t * | cinfo, |
| _XMP_nodes_t * | nodes | ||
| ) |
| void _XMPCO_set_varname | ( | CoarrayInfo_t * | cp, |
| int | namelen, | ||
| char * | name | ||
| ) |
| size_t xmp_coarray_allocated_bytes | ( | void | ) |

| size_t xmp_coarray_garbage_bytes | ( | void | ) |
| void XMPCO_count_size | ( | int | count, |
| size_t | element | ||
| ) |

| void XMPCO_deregmem_coarray | ( | CoarrayInfo_t * | cinfo | ) |

| void XMPCO_epilog | ( | ResourceSet_t ** | rsetp | ) |

| CoarrayInfo_t* XMPCO_find_descptr | ( | char * | addr, |
| int | namelen, | ||
| char * | name | ||
| ) |
generate and return a descriptor for a coarray DUMMY ARGUMENT

| void XMPCO_free_coarray | ( | CoarrayInfo_t * | cinfo | ) |

| CoarrayInfo_t* XMPCO_malloc_coarray | ( | char ** | addr, |
| int | count, | ||
| size_t | element, | ||
| ResourceSet_t * | rset | ||
| ) |

| void XMPCO_malloc_pool | ( | void | ) |

| CoarrayInfo_t* XMPCO_malloc_staticCoarray | ( | char ** | addr, |
| int | count, | ||
| size_t | element, | ||
| int | namelen, | ||
| char * | name | ||
| ) |
have a share of memory in the pool (if not larger than threshold) or allocate individually (if larger than threshold) out: return : pointer to descriptor CoarrayInfo_t addr : address of the coarray object to be allocated in: count : count of elements element: element size namelen: character length of name (for debugging) name : name of the coarray (for debugging)

| void XMPCO_prolog | ( | ResourceSet_t ** | rsetp, |
| int | namelen, | ||
| char * | name | ||
| ) |
| CoarrayInfo_t* XMPCO_regmem_coarray | ( | void * | var, |
| int | count, | ||
| size_t | element, | ||
| ResourceSet_t * | rset | ||
| ) |

| CoarrayInfo_t* XMPCO_regmem_staticCoarray | ( | void * | var, |
| int | count, | ||
| size_t | element, | ||
| int | namelen, | ||
| char * | name | ||
| ) |
Similar to _alloc_static_coarray() except that the coarray is allocated not by the runtime but by the Fortran system.
out: return : pointer to descriptor CoarrayInfo_t in: var : pointer to the coarray count : count of elements element : element size name : name of the coarray (for debugging) namelen : character length of name (for debugging)

| struct { ... } _mallocStack |
| MemoryChunkOrder_t* head |
| MemoryChunkOrder_t* tail |