|
libxmp/libxmpf in Omni Compiler
1.3.4
|
#include <stdio.h>#include <stdlib.h>#include "xmp_internal.h"#include <signal.h>#include <string.h>
Data Structures | |
| struct | _shift_queue_t |
Macros | |
| #define | _SYNCIMAGE_SENDRECV |
| #define | _is_put_blocking (! _XMP_flag_put_nb) |
| #define | _is_put_local_blocking (! _XMP_flag_put_nb) |
| #define | _is_get_blocking (! _XMP_flag_get_nb) |
Functions | |
| MPI_Win | _XMP_mpi_coarray_get_window (const _XMP_coarray_t *desc, bool is_acc) |
| char * | _XMP_mpi_coarray_get_remote_addr (const _XMP_coarray_t *desc, const int target_rank, const bool is_acc) |
| char * | _XMP_mpi_coarray_get_local_addr (const _XMP_coarray_t *desc, const bool is_acc) |
| void | _XMP_mpi_build_shift_queue (bool is_acc) |
| Set initial value to the shift queue. More... | |
| void | _XMP_mpi_destroy_shift_queue (bool is_acc) |
| Destroy shift queue. More... | |
| void | _XMP_mpi_coarray_lastly_deallocate (bool is_acc) |
| Deallocate memory region when calling _XMP_coarray_lastly_deallocate() More... | |
| void | _XMP_mpi_coarray_deallocate (_XMP_coarray_t *c, bool is_acc) |
| void | _XMP_mpi_coarray_malloc (_XMP_coarray_t *coarray_desc, void **addr, const size_t coarray_size, bool is_acc) |
| void | _XMP_mpi_contiguous_put (const int org_target_rank, const _XMP_coarray_t *dst_desc, const _XMP_coarray_t *src_desc, const size_t dst_offset, const size_t src_offset, const size_t dst_elmts, const size_t src_elmts, const size_t elmt_size, const bool is_dst_on_acc, const bool is_src_on_acc) |
| void | _XMP_mpi_contiguous_get (const int org_target_rank, const _XMP_coarray_t *dst_desc, const _XMP_coarray_t *src_desc, const size_t dst_offset, const size_t src_offset, const size_t dst_elmts, const size_t src_elmts, const size_t elmt_size, const bool is_dst_on_acc, const bool is_src_on_acc) |
| void | _XMP_mpi_put (const int dst_contiguous, const int src_contiguous, const int org_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 int dst_elmts, const int src_elmts, const int is_dst_on_acc) |
| void | _XMP_mpi_get (const int src_contiguous, const int dst_contiguous, const int org_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, void *dst, const int src_elmts, const int dst_elmts, const int is_src_on_acc) |
| void | _XMP_mpi_sync_memory () |
| Execute sync_memory. More... | |
| void | _XMP_mpi_sync_all () |
| Execute sync_all. More... | |
| void | _XMP_mpi_coarray_attach (_XMP_coarray_t *coarray_desc, void *addr, const size_t coarray_size, const bool is_acc) |
| void | _XMP_mpi_coarray_detach (_XMP_coarray_t *coarray_desc, const bool is_acc) |
| void | _XMP_mpi_build_sync_images_table () |
| Build table and Initialize for sync images. More... | |
| void | _XMP_mpi_sync_images (const int num, const int *image_set, int *status) |
| Execute sync images. More... | |
| void | _XMP_sync_images_EXEC (int *status) |
| void | _XMP_sync_images_COMM (MPI_Comm *comm, int *status) |
| void | _XMP_mpi_coarray_regmem (_XMP_coarray_t *coarray_desc, void *real_addr, const size_t coarray_size, bool is_acc) |
| void | _XMP_mpi_coarray_deregmem (_XMP_coarray_t *c) |
Variables | |
| int | _XMP_flag_put_nb |
| These variables are temporral. More... | |
| int | _XMP_flag_get_nb |
| int | _XMP_flag_multi_win |
| #define _is_get_blocking (! _XMP_flag_get_nb) |
| #define _is_put_blocking (! _XMP_flag_put_nb) |
| #define _is_put_local_blocking (! _XMP_flag_put_nb) |
| #define _SYNCIMAGE_SENDRECV |
| void _XMP_mpi_build_shift_queue | ( | bool | is_acc | ) |
Set initial value to the shift queue.

| void _XMP_mpi_build_sync_images_table | ( | ) |
Build table and Initialize for sync images.

| void _XMP_mpi_coarray_attach | ( | _XMP_coarray_t * | coarray_desc, |
| void * | addr, | ||
| const size_t | coarray_size, | ||
| const bool | is_acc | ||
| ) |


| void _XMP_mpi_coarray_deallocate | ( | _XMP_coarray_t * | c, |
| bool | is_acc | ||
| ) |

| void _XMP_mpi_coarray_deregmem | ( | _XMP_coarray_t * | c | ) |

| void _XMP_mpi_coarray_detach | ( | _XMP_coarray_t * | coarray_desc, |
| const bool | is_acc | ||
| ) |


| char* _XMP_mpi_coarray_get_local_addr | ( | const _XMP_coarray_t * | desc, |
| const bool | is_acc | ||
| ) |
| char* _XMP_mpi_coarray_get_remote_addr | ( | const _XMP_coarray_t * | desc, |
| const int | target_rank, | ||
| const bool | is_acc | ||
| ) |
| MPI_Win _XMP_mpi_coarray_get_window | ( | const _XMP_coarray_t * | desc, |
| bool | is_acc | ||
| ) |
| void _XMP_mpi_coarray_lastly_deallocate | ( | bool | is_acc | ) |
Deallocate memory region when calling _XMP_coarray_lastly_deallocate()

| void _XMP_mpi_coarray_malloc | ( | _XMP_coarray_t * | coarray_desc, |
| void ** | addr, | ||
| const size_t | coarray_size, | ||
| bool | is_acc | ||
| ) |

| void _XMP_mpi_coarray_regmem | ( | _XMP_coarray_t * | coarray_desc, |
| void * | real_addr, | ||
| const size_t | coarray_size, | ||
| bool | is_acc | ||
| ) |

| void _XMP_mpi_contiguous_get | ( | const int | org_target_rank, |
| const _XMP_coarray_t * | dst_desc, | ||
| const _XMP_coarray_t * | src_desc, | ||
| const size_t | dst_offset, | ||
| const size_t | src_offset, | ||
| const size_t | dst_elmts, | ||
| const size_t | src_elmts, | ||
| const size_t | elmt_size, | ||
| const bool | is_dst_on_acc, | ||
| const bool | is_src_on_acc | ||
| ) |

| void _XMP_mpi_contiguous_put | ( | const int | org_target_rank, |
| const _XMP_coarray_t * | dst_desc, | ||
| const _XMP_coarray_t * | src_desc, | ||
| const size_t | dst_offset, | ||
| const size_t | src_offset, | ||
| const size_t | dst_elmts, | ||
| const size_t | src_elmts, | ||
| const size_t | elmt_size, | ||
| const bool | is_dst_on_acc, | ||
| const bool | is_src_on_acc | ||
| ) |

| void _XMP_mpi_destroy_shift_queue | ( | bool | is_acc | ) |
Destroy shift queue.

| void _XMP_mpi_get | ( | const int | src_contiguous, |
| const int | dst_contiguous, | ||
| const int | org_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, | ||
| void * | dst, | ||
| const int | src_elmts, | ||
| const int | dst_elmts, | ||
| const int | is_src_on_acc | ||
| ) |

| void _XMP_mpi_put | ( | const int | dst_contiguous, |
| const int | src_contiguous, | ||
| const int | org_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 int | dst_elmts, | ||
| const int | src_elmts, | ||
| const int | is_dst_on_acc | ||
| ) |

| void _XMP_mpi_sync_all | ( | ) |
Execute sync_all.


| void _XMP_mpi_sync_images | ( | const int | num, |
| const int * | image_set, | ||
| int * | status | ||
| ) |
Execute sync images.
| [in] | num | number of nodes |
| [in] | *image_set | image set |
| [out] | status | status |


| void _XMP_mpi_sync_memory | ( | ) |
Execute sync_memory.


| void _XMP_sync_images_COMM | ( | MPI_Comm * | comm, |
| int * | status | ||
| ) |
| void _XMP_sync_images_EXEC | ( | int * | status | ) |

|
extern |
|
extern |
|
extern |
These variables are temporral.