libxmp/libxmpf in Omni Compiler
1.3.4
|
#include "xmp_internal.h"
Data Structures | |
struct | _shift_queue_t |
Macros | |
#define | _XMP_STRIDE_REG 0 |
Queue which saves shift information. More... | |
#define | _XMP_STRIDE_DONE 1 |
#define | _XMP_UNROLLING (4) |
Functions | |
void | _XMP_gasnet_build_shift_queue () |
Set initial value to the shift queue. More... | |
void | _XMP_gasnet_coarray_lastly_deallocate () |
Deallocate memory region when calling _XMP_coarray_lastly_deallocate() More... | |
void | _XMP_gasnet_coarray_malloc (_XMP_coarray_t *coarray_desc, void **addr, const size_t coarray_size) |
void | _XMP_gasnet_sync_memory () |
Execute sync_memory. More... | |
void | _XMP_gasnet_sync_all () |
Execute sync_all. More... | |
void | _xmp_gasnet_unpack_reply (gasnet_token_t t, const int ith) |
Registor finish information of unpack operation. More... | |
void | _xmp_gasnet_unpack_using_buf (gasnet_token_t t, const int addr_hi, const int addr_lo, const int dst_dims, const int ith, const int flag) |
Unpack received data which is stored in buffer. More... | |
void | _xmp_gasnet_unpack (gasnet_token_t t, const char *src_addr, const size_t nbytes, const int addr_hi, const int addr_lo, const int dst_dims, const int ith, const int flag) |
Unpack received data. More... | |
void | _XMP_gasnet_put (const int dst_contiguous, const int src_contiguous, const int target_rank, const int dst_dims, const int src_dims, const _XMP_array_section_t *dst_info, const _XMP_array_section_t *src_info, const _XMP_coarray_t *dst_desc, const void *src, const size_t dst_elmts, const size_t src_elmts) |
void | _xmp_gasnet_pack (gasnet_token_t t, const char *array_info, const size_t am_request_size, const int src_addr_hi, const int src_addr_lo, const int src_dims, const size_t tansfer_size, const int dst_addr_hi, const int dst_addr_lo) |
void | _xmp_gasnet_pack_get (gasnet_token_t t, const char *array_info, const size_t am_request_size, const int src_addr_hi, const int src_addr_lo, const int src_dims, const int dst_dims, const size_t tansfer_size, const int dst_addr_hi, const int dst_addr_lo) |
void | _xmp_gasnet_unpack_get_reply_nonc (gasnet_token_t t, char *archive, size_t transfer_size, const int dst_addr_hi, const int dst_addr_lo, const int dst_dims) |
void | _xmp_gasnet_unpack_get_reply (gasnet_token_t t, char *archive, size_t transfer_size, const int dst_addr_hi, const int dst_addr_lo) |
void | _xmp_gasnet_unpack_get_reply_using_buf (gasnet_token_t t) |
Set done flag for get operation. More... | |
void | _xmp_gasnet_pack_using_buf (gasnet_token_t t, const char *array_info, const size_t am_request_size, const int src_addr_hi, const int src_addr_lo, const int src_dims, const int target_rank) |
void | _XMP_gasnet_get (const int src_contiguous, const int dst_contiguous, const int target_rank, const int src_dims, const int dst_dims, const _XMP_array_section_t *src_info, const _XMP_array_section_t *dst_info, const _XMP_coarray_t *src_desc, const void *dst, const size_t src_elmts, const size_t dst_elmts) |
void | _XMP_gasnet_contiguous_put (const int target_rank, _XMP_coarray_t *dst_desc, void *src, const size_t dst_offset, const size_t dst_elmts, const size_t src_elmts, const size_t elmt_size) |
void | _XMP_gasnet_contiguous_get (const int target_rank, _XMP_coarray_t *dst_desc, void *src, const size_t dst_offset, const size_t dst_elmts, const size_t src_elmts, const size_t elmt_size) |
void | _XMP_gasnet_build_sync_images_table () |
Build table and Initialize for sync images. More... | |
void | _xmp_gasnet_add_notify (gasnet_token_t token, const int rank) |
void | _XMP_gasnet_sync_images (const int num, int image_set[num], int *status) |
Execute sync images. More... | |
Variables | |
char ** | _xmp_gasnet_buf |
int * | _xmp_gasnet_stride_queue |
size_t | _xmp_gasnet_coarray_shift |
size_t | _xmp_gasnet_stride_size |
size_t | _xmp_gasnet_heap_size |
int | _XMP_flag_put_nb |
These variables are temporral. More... | |
#define _XMP_STRIDE_DONE 1 |
#define _XMP_STRIDE_REG 0 |
Queue which saves shift information.
#define _XMP_UNROLLING (4) |
void _xmp_gasnet_add_notify | ( | gasnet_token_t | token, |
const int | rank | ||
) |
void _XMP_gasnet_build_shift_queue | ( | ) |
void _XMP_gasnet_build_sync_images_table | ( | ) |
Build table and Initialize for sync images.
void _XMP_gasnet_coarray_lastly_deallocate | ( | ) |
Deallocate memory region when calling _XMP_coarray_lastly_deallocate()
void _XMP_gasnet_coarray_malloc | ( | _XMP_coarray_t * | coarray_desc, |
void ** | addr, | ||
const size_t | coarray_size | ||
) |
void _XMP_gasnet_contiguous_get | ( | const int | target_rank, |
_XMP_coarray_t * | dst_desc, | ||
void * | src, | ||
const size_t | dst_offset, | ||
const size_t | dst_elmts, | ||
const size_t | src_elmts, | ||
const size_t | elmt_size | ||
) |
void _XMP_gasnet_contiguous_put | ( | const int | target_rank, |
_XMP_coarray_t * | dst_desc, | ||
void * | src, | ||
const size_t | dst_offset, | ||
const size_t | dst_elmts, | ||
const size_t | src_elmts, | ||
const size_t | elmt_size | ||
) |
void _XMP_gasnet_get | ( | const int | src_contiguous, |
const int | dst_contiguous, | ||
const int | target_rank, | ||
const int | src_dims, | ||
const int | dst_dims, | ||
const _XMP_array_section_t * | src_info, | ||
const _XMP_array_section_t * | dst_info, | ||
const _XMP_coarray_t * | src_desc, | ||
const void * | dst, | ||
const size_t | src_elmts, | ||
const size_t | dst_elmts | ||
) |
void _xmp_gasnet_pack | ( | gasnet_token_t | t, |
const char * | array_info, | ||
const size_t | am_request_size, | ||
const int | src_addr_hi, | ||
const int | src_addr_lo, | ||
const int | src_dims, | ||
const size_t | tansfer_size, | ||
const int | dst_addr_hi, | ||
const int | dst_addr_lo | ||
) |
void _xmp_gasnet_pack_get | ( | gasnet_token_t | t, |
const char * | array_info, | ||
const size_t | am_request_size, | ||
const int | src_addr_hi, | ||
const int | src_addr_lo, | ||
const int | src_dims, | ||
const int | dst_dims, | ||
const size_t | tansfer_size, | ||
const int | dst_addr_hi, | ||
const int | dst_addr_lo | ||
) |
void _xmp_gasnet_pack_using_buf | ( | gasnet_token_t | t, |
const char * | array_info, | ||
const size_t | am_request_size, | ||
const int | src_addr_hi, | ||
const int | src_addr_lo, | ||
const int | src_dims, | ||
const int | target_rank | ||
) |
void _XMP_gasnet_put | ( | const int | dst_contiguous, |
const int | src_contiguous, | ||
const int | target_rank, | ||
const int | dst_dims, | ||
const int | src_dims, | ||
const _XMP_array_section_t * | dst_info, | ||
const _XMP_array_section_t * | src_info, | ||
const _XMP_coarray_t * | dst_desc, | ||
const void * | src, | ||
const size_t | dst_elmts, | ||
const size_t | src_elmts | ||
) |
void _XMP_gasnet_sync_all | ( | ) |
Execute sync_all.
void _XMP_gasnet_sync_images | ( | const int | num, |
int | image_set[num], | ||
int * | status | ||
) |
Execute sync images.
[in] | num | number of nodes |
[in] | *image_set | image set |
[out] | status | status |
void _XMP_gasnet_sync_memory | ( | ) |
Execute sync_memory.
void _xmp_gasnet_unpack | ( | gasnet_token_t | t, |
const char * | src_addr, | ||
const size_t | nbytes, | ||
const int | addr_hi, | ||
const int | addr_lo, | ||
const int | dst_dims, | ||
const int | ith, | ||
const int | flag | ||
) |
void _xmp_gasnet_unpack_get_reply | ( | gasnet_token_t | t, |
char * | archive, | ||
size_t | transfer_size, | ||
const int | dst_addr_hi, | ||
const int | dst_addr_lo | ||
) |
void _xmp_gasnet_unpack_get_reply_nonc | ( | gasnet_token_t | t, |
char * | archive, | ||
size_t | transfer_size, | ||
const int | dst_addr_hi, | ||
const int | dst_addr_lo, | ||
const int | dst_dims | ||
) |
void _xmp_gasnet_unpack_get_reply_using_buf | ( | gasnet_token_t | t | ) |
Set done flag for get operation.
void _xmp_gasnet_unpack_reply | ( | gasnet_token_t | t, |
const int | ith | ||
) |
Registor finish information of unpack operation.
void _xmp_gasnet_unpack_using_buf | ( | gasnet_token_t | t, |
const int | addr_hi, | ||
const int | addr_lo, | ||
const int | dst_dims, | ||
const int | ith, | ||
const int | flag | ||
) |
int _XMP_flag_put_nb |
These variables are temporral.
char** _xmp_gasnet_buf |
size_t _xmp_gasnet_coarray_shift |
size_t _xmp_gasnet_heap_size |
int* _xmp_gasnet_stride_queue |
size_t _xmp_gasnet_stride_size |