|
libxmp/libxmpf in Omni Compiler
1.3.4
|
#include <mpi.h>#include <stdio.h>#include <stddef.h>#include <stdarg.h>#include <stdint.h>#include <string.h>#include "xmp_data_struct.h"
Go to the source code of this file.
Data Structures | |
| struct | _XMP_coarray_list_type |
Macros | |
| #define | _XMP_INTERNAL |
| #define | MIN(a, b) ( (a)<(b) ? (a) : (b) ) |
| #define | MAX(a, b) ( (a)>(b) ? (a) : (b) ) |
| #define | _XMP_ASSERT(_flag) |
| #define | _XMP_RETURN_IF_SINGLE |
| #define | _XMP_RETURN_IF_AFTER_FINALIZATION |
| #define | _XMP_IS_SINGLE (_XMP_world_size == 1) |
| #define | _XMP_TSTART(t0) |
| #define | _XMP_TEND(t, t0) |
| #define | _XMP_TEND2(t, tt, t0) |
| #define | XACC_DEBUG(...) do{}while(0) |
Typedefs | |
| typedef struct _XMP_coarray_list_type | _XMP_coarray_list_t |
Functions | |
| int | xmp_get_ruuning () |
| void | _XMP_calc_array_dim_elmts (_XMP_array_t *array, int array_index) |
| void | _XMP_init_array_desc (_XMP_array_t **array, _XMP_template_t *template, int dim, int type, size_t type_size,...) |
| void | _XMP_init_array_desc_NOT_ALIGNED (_XMP_array_t **adesc, _XMP_template_t *template, int ndims, int type, size_t type_size, unsigned long long *dim_acc, void *ap) |
| void | _XMP_finalize_array_desc (_XMP_array_t *array) |
| void | _XMP_align_array_NOT_ALIGNED (_XMP_array_t *array, int array_index) |
| void | _XMP_align_array_DUPLICATION (_XMP_array_t *array, int array_index, int template_index, long long align_subscript) |
| void | _XMP_align_array_BLOCK (_XMP_array_t *array, int array_index, int template_index, long long align_subscript, int *temp0) |
| void | _XMP_align_array_CYCLIC (_XMP_array_t *array, int array_index, int template_index, long long align_subscript, int *temp0) |
| void | _XMP_align_array_BLOCK_CYCLIC (_XMP_array_t *array, int array_index, int template_index, long long align_subscript, int *temp0) |
| void | _XMP_align_array_GBLOCK (_XMP_array_t *array, int array_index, int template_index, long long align_subscript, int *temp0) |
| void | _XMP_init_array_nodes (_XMP_array_t *array) |
| void | _XMP_init_array_comm (_XMP_array_t *array,...) |
| void | _XMP_init_array_comm2 (_XMP_array_t *array, int args[]) |
| void | _XMP_alloc_array (void **array_addr, _XMP_array_t *array_desc, int is_coarray,...) |
| void | _XMP_alloc_array2 (void **array_addr, _XMP_array_t *array_desc, int is_coarray, unsigned long long *acc[]) |
| void | _XMP_dealloc_array (_XMP_array_t *array_desc) |
| void | _XMP_normalize_array_section (_XMP_gmv_desc_t *gmv_desc, int idim, int *lower, int *upper, int *stride) |
| void | _XMPC_pack_array (void *buffer, void *src, int array_type, size_t array_type_size, int array_dim, int *l, int *u, int *s, unsigned long long *d) |
| void | _XMPC_unpack_array (void *dst, void *buffer, int array_type, size_t array_type_size, int array_dim, int *l, int *u, int *s, unsigned long long *d) |
| _XMP_async_comm_t * | _XMP_get_current_async () |
| void | _XMP_initialize_async_comm_tab () |
| void | _XMP_nodes_dealloc_after_wait_async (_XMP_nodes_t *n) |
| void | xmpc_end_async (int) |
| void | _XMP_barrier_NODES_ENTIRE (_XMP_nodes_t *nodes) |
| void | _XMP_barrier_EXEC (void) |
| void | _XMP_bcast_NODES_ENTIRE_OMITTED (_XMP_nodes_t *bcast_nodes, void *addr, int count, size_t datatype_size) |
| void | _XMP_bcast_NODES_ENTIRE_NODES (_XMP_nodes_t *bcast_nodes, void *addr, int count, size_t datatype_size, _XMP_nodes_t *from_nodes,...) |
| void | _XMP_bcast_NODES_ENTIRE_NODES_V (_XMP_nodes_t *bcast_nodes, void *addr, int count, size_t datatype_size, _XMP_nodes_t *from_nodes, va_list args) |
| void | _XMP_initialize_onesided_functions () |
| void | _XMP_finalize_onesided_functions () |
| void | _XMP_build_sync_images_table () |
| Build table for sync images. More... | |
| void | _XMP_sync_images_EXEC (int *status) |
| void | _XMP_build_coarray_queue () |
| Build queue for coarray. More... | |
| void | _XMP_coarray_lastly_deallocate () |
| Deallocate memory space and an object of the last coarray. More... | |
| void | _XMP_mpi_coarray_deallocate (_XMP_coarray_t *, bool is_acc) |
| size_t | _XMP_calc_copy_chunk (const int, const _XMP_array_section_t *) |
| int | _XMP_get_dim_of_allelmts (const int, const _XMP_array_section_t *) |
| void | _XMP_local_put (_XMP_coarray_t *, const void *, const int, const int, const int, const int, const _XMP_array_section_t *, const _XMP_array_section_t *, const size_t, const size_t) |
| void | _XMP_local_get (void *, const _XMP_coarray_t *, const int, const int, const int, const int, const _XMP_array_section_t *, const _XMP_array_section_t *, const size_t, const size_t) |
| void | _XMP_L2G (int local_idx, long long int *global_idx, _XMP_template_t *template, int template_index) |
| void | _XMP_G2L (long long int global_idx, int *local_idx, _XMP_template_t *template, int template_index) |
| void | xmpf_transpose (void *dst_p, void *src_p, int opt) |
| void | xmpf_matmul (void *x_p, void *a_p, void *b_p) |
| void | xmpf_pack_mask (void *v_p, void *a_p, void *m_p) |
| void | xmpf_pack_nomask (void *v_p, void *a_p) |
| void | xmpf_pack (void *v_p, void *a_p, void *m_p) |
| void | xmpf_unpack_mask (void *a_p, void *v_p, void *m_p) |
| void | xmpf_unpack_nomask (void *a_p, void *v_p) |
| void | xmpf_unpack (void *a_p, void *v_p, void *m_p) |
| void | _XMP_gtol_array_ref_triplet (_XMP_array_t *array, int dim_index, int *lower, int *upper, int *stride) |
| int | _XMP_calc_gmove_array_owner_linear_rank_SCALAR (_XMP_array_t *array, int *ref_index) |
| void | _XMP_gmove_bcast_SCALAR (void *dst_addr, void *src_addr, size_t type_size, int root_rank) |
| unsigned long long | _XMP_gmove_bcast_ARRAY (void *dst_addr, int dst_dim, int *dst_l, int *dst_u, int *dst_s, unsigned long long *dst_d, void *src_addr, int src_dim, int *src_l, int *src_u, int *src_s, unsigned long long *src_d, int type, size_t type_size, int root_rank) |
| int | _XMP_check_gmove_array_ref_inclusion_SCALAR (_XMP_array_t *array, int array_index, int ref_index) |
| void | _XMP_gmove_localcopy_ARRAY (int type, int type_size, void *dst_addr, int dst_dim, int *dst_l, int *dst_u, int *dst_s, unsigned long long *dst_d, void *src_addr, int src_dim, int *src_l, int *src_u, int *src_s, unsigned long long *src_d) |
| int | _XMP_calc_global_index_HOMECOPY (_XMP_array_t *dst_array, int dst_dim_index, int *dst_l, int *dst_u, int *dst_s, int *src_l, int *src_u, int *src_s) |
| int | _XMP_calc_global_index_BCAST (int dst_dim, int *dst_l, int *dst_u, int *dst_s, _XMP_array_t *src_array, int *src_array_nodes_ref, int *src_l, int *src_u, int *src_s) |
| void | _XMP_gmove_array_array_common (_XMP_gmv_desc_t *gmv_desc_leftp, _XMP_gmv_desc_t *gmv_desc_rightp, int *dst_l, int *dst_u, int *dst_s, unsigned long long *dst_d, int *src_l, int *src_u, int *src_s, unsigned long long *src_d, int mode) |
| void | _XMP_gmove_inout_scalar (void *scalar, _XMP_gmv_desc_t *gmv_desc, int rdma_type) |
| unsigned long long | _XMP_gtol_calc_offset (_XMP_array_t *a, int g_idx[]) |
| void | _XMP_gmove_scalar_garray (void *scalar, _XMP_gmv_desc_t *gmv_desc_rightp, int mode) |
| void | _XMP_gmove_garray_scalar (_XMP_gmv_desc_t *gmv_desc_leftp, void *scalar, int mode) |
| void | _XMP_gmove_garray_garray (_XMP_gmv_desc_t *gmv_desc_leftp, _XMP_gmv_desc_t *gmv_desc_rightp, int mode) |
| void | _XMP_gmove_garray_larray (_XMP_gmv_desc_t *gmv_desc_leftp, _XMP_gmv_desc_t *gmv_desc_rightp, int mode) |
| void | _XMP_gmove_larray_garray (_XMP_gmv_desc_t *gmv_desc_leftp, _XMP_gmv_desc_t *gmv_desc_rightp, int mode) |
| int | _XMP_sched_loop_template_width_1 (int ser_init, int ser_cond, int ser_step, int *par_init, int *par_cond, int *par_step, int template_lower, int template_upper, int template_stride) |
| int | _XMP_sched_loop_template_width_N (int ser_init, int ser_cond, int ser_step, int *par_init, int *par_cond, int *par_step, int template_lower, int template_upper, int template_stride, int width, int template_ser_lower, int template_ser_upper) |
| void | _XMP_sched_loop_template_DUPLICATION (int ser_init, int ser_cond, int ser_step, int *par_init, int *par_cond, int *par_step, _XMP_template_t *template, int template_index) |
| void | _XMP_sched_loop_template_BLOCK (int ser_init, int ser_cond, int ser_step, int *par_init, int *par_cond, int *par_step, _XMP_template_t *template, int template_index) |
| void | _XMP_sched_loop_template_CYCLIC (int ser_init, int ser_cond, int ser_step, int *par_init, int *par_cond, int *par_step, _XMP_template_t *template, int template_index) |
| void | _XMP_sched_loop_template_BLOCK_CYCLIC (int ser_init, int ser_cond, int ser_step, int *par_init, int *par_cond, int *par_step, _XMP_template_t *template, int template_index) |
| void | _XMP_sched_loop_template_GBLOCK (int ser_init, int ser_cond, int ser_step, int *par_init, int *par_cond, int *par_step, _XMP_template_t *template, int template_index) |
| _XMP_nodes_t * | _XMP_create_temporary_nodes (_XMP_nodes_t *n) |
| _XMP_nodes_t * | _XMP_init_nodes_struct_GLOBAL (int dim, int *dim_size, int is_static) |
| _XMP_nodes_t * | _XMP_init_nodes_struct_EXEC (int dim, int *dim_size, int is_static) |
| _XMP_nodes_t * | _XMP_init_nodes_struct_NODES_NUMBER (int dim, int ref_lower, int ref_upper, int ref_stride, int *dim_size, int is_static) |
| _XMP_nodes_t * | _XMP_init_nodes_struct_NODES_NAMED (int dim, _XMP_nodes_t *ref_nodes, int *shrink, int *ref_lower, int *ref_upper, int *ref_stride, int *dim_size, int is_static) |
| void | _XMP_finalize_nodes (_XMP_nodes_t *nodes) |
| _XMP_nodes_t * | _XMP_create_nodes_by_comm (int is_member, _XMP_comm_t *comm) |
| void | _XMP_calc_rank_array (_XMP_nodes_t *n, int *rank_array, int linear_rank) |
| int | _XMP_calc_linear_rank (_XMP_nodes_t *n, int *rank_array) |
| int | _XMP_calc_linear_rank_on_target_nodes (_XMP_nodes_t *n, int *rank_array, _XMP_nodes_t *target_nodes) |
| _Bool | _XMP_calc_coord_on_target_nodes2 (_XMP_nodes_t *n, int *ncoord, _XMP_nodes_t *target_n, int *target_ncoord) |
| _Bool | _XMP_calc_coord_on_target_nodes (_XMP_nodes_t *n, int *ncoord, _XMP_nodes_t *target_n, int *target_ncoord) |
| _XMP_nodes_ref_t * | _XMP_init_nodes_ref (_XMP_nodes_t *n, int *rank_array) |
| void | _XMP_finalize_nodes_ref (_XMP_nodes_ref_t *nodes_ref) |
| _XMP_nodes_ref_t * | _XMP_create_nodes_ref_for_target_nodes (_XMP_nodes_t *n, int *rank_array, _XMP_nodes_t *target_nodes) |
| void | _XMP_translate_nodes_rank_array_to_ranks (_XMP_nodes_t *nodes, int *ranks, int *rank_array, int shrink_nodes_size) |
| int | _XMP_get_next_rank (_XMP_nodes_t *nodes, int *rank_array) |
| int | _XMP_calc_nodes_index_from_inherit_nodes_index (_XMP_nodes_t *nodes, int inherit_nodes_index) |
| void | _XMP_push_nodes (_XMP_nodes_t *nodes) |
| void | _XMP_pop_nodes (void) |
| void | _XMP_pop_n_free_nodes (void) |
| void | _XMP_pop_n_free_nodes_wo_finalize_comm (void) |
| _XMP_nodes_t * | _XMP_get_execution_nodes (void) |
| int | _XMP_get_execution_nodes_rank (void) |
| void | _XMP_push_comm (_XMP_comm_t *comm) |
| void | _XMP_finalize_comm (_XMP_comm_t *comm) |
| void | _XMP_pack_vector (char *restrict dst, char *restrict src, int count, int blocklength, long stride) |
| void | _XMP_pack_vector2 (char *restrict dst, char *restrict src, int count, int blocklength, int nnodes, int type_size, int src_block_dim) |
| void | _XMP_unpack_vector (char *restrict dst, char *restrict src, int count, int blocklength, long stride) |
| void | _XMPF_unpack_transpose_vector (char *restrict dst, char *restrict src, int dst_stride, int src_stride, int type_size, int dst_block_dim) |
| void | _XMP_check_reflect_type (void) |
| void | _XMP_reduce_NODES_ENTIRE (_XMP_nodes_t *nodes, void *addr, int count, int datatype, int op) |
| void | _XMPF_reduce_FLMM_NODES_ENTIRE (_XMP_nodes_t *nodes, void *addr, int count, int datatype, int op, int num_locs, void **loc_vars, int *loc_types) |
| void | _XMP_reduce_CLAUSE (void *data_addr, int count, int datatype, int op) |
| void | xmp_reduce_initialize () |
| void | _XMP_set_reflect__ (_XMP_array_t *a, int dim, int lwidth, int uwidth, int is_periodic) |
| void | _XMP_reflect__ (_XMP_array_t *a) |
| void | _XMP_wait_async__ (int async_id) |
| void | _XMP_reflect_async__ (_XMP_array_t *a, int async_id) |
| void | _XMP_reduce_shadow_wait (_XMP_array_t *a) |
| void | _XMP_reduce_shadow_sum (_XMP_array_t *a) |
| void | _XMP_init (int argc, char **argv, MPI_Comm comm) |
| void | _XMP_finalize (bool isFinalize) |
| size_t | _XMP_get_datatype_size (int datatype) |
| void | print_rsd (_XMP_rsd_t *rsd) |
| void | print_bsd (_XMP_bsd_t *bsd) |
| void | print_csd (_XMP_csd_t *csd) |
| void | print_comm_set (_XMP_comm_set_t *comm_set0) |
| _XMP_rsd_t * | intersection_rsds (_XMP_rsd_t *_rsd1, _XMP_rsd_t *_rsd2) |
| _XMP_csd_t * | intersection_csds (_XMP_csd_t *csd1, _XMP_csd_t *csd2) |
| _XMP_csd_t * | alloc_csd (int n) |
| void | free_csd (_XMP_csd_t *csd) |
| _XMP_csd_t * | copy_csd (_XMP_csd_t *csd) |
| int | get_csd_size (_XMP_csd_t *csd) |
| void | free_comm_set (_XMP_comm_set_t *comm_set) |
| _XMP_csd_t * | rsd2csd (_XMP_rsd_t *rsd) |
| _XMP_csd_t * | bsd2csd (_XMP_bsd_t *bsd) |
| _XMP_comm_set_t * | csd2comm_set (_XMP_csd_t *csd) |
| void | reduce_csd (_XMP_csd_t *csd[_XMP_N_MAX_DIM], int ndims) |
| void | _XMP_create_shadow_comm (_XMP_array_t *array, int array_index) |
| void | _XMP_reflect_shadow_FULL (void *array_addr, _XMP_array_t *array_desc, int array_index) |
| void | _XMP_init_reflect_sched (_XMP_reflect_sched_t *sched) |
| void | _XMP_finalize_reflect_sched (_XMP_reflect_sched_t *sched, _Bool free_buf) |
| void | _XMP_init_shadow (_XMP_array_t *array,...) |
| void | _XMP_sort (_XMP_array_t *a_desc, _XMP_array_t *b_desc, int is_up) |
| int | xmpc_ltog (int local_idx, _XMP_template_t *template, int template_index, int offset) |
| _XMP_template_t * | _XMP_create_template_desc (int dim, _Bool is_fixed) |
| int | _XMP_check_template_ref_inclusion (int ref_lower, int ref_upper, int ref_stride, _XMP_template_t *t, int index) |
| void | _XMP_init_template_FIXED (_XMP_template_t **template, int dim,...) |
| _XMP_nodes_t * | _XMP_create_nodes_by_template_ref (_XMP_template_t *ref_template, int *shrink, long long *ref_lower, long long *ref_upper, long long *ref_stride) |
| void | _XMP_calc_template_size (_XMP_template_t *t) |
| void | _XMP_init_template_chunk (_XMP_template_t *template, _XMP_nodes_t *nodes) |
| void | _XMP_finalize_template (_XMP_template_t *template) |
| int | _XMP_calc_template_owner_SCALAR (_XMP_template_t *ref_template, int dim_index, long long ref_index) |
| int | _XMP_calc_template_par_triplet (_XMP_template_t *template, int template_index, int nodes_rank, int *template_lower, int *template_upper, int *template_stride) |
| void | _XMP_dist_template_DUPLICATION (_XMP_template_t *template, int template_index) |
| void | _XMP_dist_template_BLOCK (_XMP_template_t *template, int template_index, int nodes_index) |
| void | _XMP_dist_template_CYCLIC (_XMP_template_t *template, int template_index, int nodes_index) |
| void | _XMP_dist_template_BLOCK_CYCLIC (_XMP_template_t *template, int template_index, int nodes_index, unsigned long long width) |
| void | _XMP_dist_template_GBLOCK (_XMP_template_t *template, int template_index, int nodes_index, int *mapping_array, int *temp0) |
| unsigned long long | _XMP_get_on_ref_id (void) |
| void * | _XMP_alloc (size_t size) |
| void | _XMP_free (void *p) |
| void | _XMP_fatal (char *msg) |
| void | _XMP_fatal_nomsg () |
| void | _XMP_unexpected_error (void) |
| void | _XMP_warning (char *msg) |
| void | _XMP_init_world (int *argc, char ***argv) |
| void | _XMP_finalize_world (bool) |
| int | _XMP_split_world_by_color (int color) |
| _Bool | xmp_is_async () |
| void | _XMP_threads_init (void) |
| void | _XMP_threads_finalize (void) |
Variables | |
| int | _XMPC_running |
| int | _XMPF_running |
| void(* | _xmp_pack_array )(void *buffer, void *src, int array_type, size_t array_type_size, int array_dim, int *l, int *u, int *s, unsigned long long *d) |
| void(* | _xmp_unpack_array )(void *dst, void *buffer, int array_type, size_t array_type_size, int array_dim, int *l, int *u, int *s, unsigned long long *d) |
| _XMP_coarray_list_t * | _XMP_coarray_list_head |
| _XMP_coarray_list_t * | _XMP_coarray_list_tail |
| int | _XMP_world_size |
| int | _XMP_world_rank |
| void * | _XMP_world_nodes |
| #define _XMP_ASSERT | ( | _flag | ) |
| #define _XMP_INTERNAL |
| #define _XMP_IS_SINGLE (_XMP_world_size == 1) |
| #define _XMP_RETURN_IF_AFTER_FINALIZATION |
| #define _XMP_RETURN_IF_SINGLE |
| #define _XMP_TEND | ( | t, | |
| t0 | |||
| ) |
| #define _XMP_TEND2 | ( | t, | |
| tt, | |||
| t0 | |||
| ) |
| #define _XMP_TSTART | ( | t0 | ) |
| #define MAX | ( | a, | |
| b | |||
| ) | ( (a)>(b) ? (a) : (b) ) |
| #define MIN | ( | a, | |
| b | |||
| ) | ( (a)<(b) ? (a) : (b) ) |
| #define XACC_DEBUG | ( | ... | ) | do{}while(0) |
| typedef struct _XMP_coarray_list_type _XMP_coarray_list_t |
| void _XMP_align_array_BLOCK | ( | _XMP_array_t * | array, |
| int | array_index, | ||
| int | template_index, | ||
| long long | align_subscript, | ||
| int * | temp0 | ||
| ) |

| void _XMP_align_array_BLOCK_CYCLIC | ( | _XMP_array_t * | array, |
| int | array_index, | ||
| int | template_index, | ||
| long long | align_subscript, | ||
| int * | temp0 | ||
| ) |
| void _XMP_align_array_CYCLIC | ( | _XMP_array_t * | array, |
| int | array_index, | ||
| int | template_index, | ||
| long long | align_subscript, | ||
| int * | temp0 | ||
| ) |

| void _XMP_align_array_DUPLICATION | ( | _XMP_array_t * | array, |
| int | array_index, | ||
| int | template_index, | ||
| long long | align_subscript | ||
| ) |

| void _XMP_align_array_GBLOCK | ( | _XMP_array_t * | array, |
| int | array_index, | ||
| int | template_index, | ||
| long long | align_subscript, | ||
| int * | temp0 | ||
| ) |

| void _XMP_align_array_NOT_ALIGNED | ( | _XMP_array_t * | array, |
| int | array_index | ||
| ) |
| void* _XMP_alloc | ( | size_t | size | ) |
| void _XMP_alloc_array | ( | void ** | array_addr, |
| _XMP_array_t * | array_desc, | ||
| int | is_coarray, | ||
| ... | |||
| ) |

| void _XMP_alloc_array2 | ( | void ** | array_addr, |
| _XMP_array_t * | array_desc, | ||
| int | is_coarray, | ||
| unsigned long long * | acc[] | ||
| ) |


| void _XMP_barrier_EXEC | ( | void | ) |
| void _XMP_barrier_NODES_ENTIRE | ( | _XMP_nodes_t * | nodes | ) |
| void _XMP_bcast_NODES_ENTIRE_NODES | ( | _XMP_nodes_t * | bcast_nodes, |
| void * | addr, | ||
| int | count, | ||
| size_t | datatype_size, | ||
| _XMP_nodes_t * | from_nodes, | ||
| ... | |||
| ) |

| void _XMP_bcast_NODES_ENTIRE_NODES_V | ( | _XMP_nodes_t * | bcast_nodes, |
| void * | addr, | ||
| int | count, | ||
| size_t | datatype_size, | ||
| _XMP_nodes_t * | from_nodes, | ||
| va_list | args | ||
| ) |


| void _XMP_bcast_NODES_ENTIRE_OMITTED | ( | _XMP_nodes_t * | bcast_nodes, |
| void * | addr, | ||
| int | count, | ||
| size_t | datatype_size | ||
| ) |

| void _XMP_build_coarray_queue | ( | ) |
Build queue for coarray.

| void _XMP_build_sync_images_table | ( | ) |
Build table for sync images.


| void _XMP_calc_array_dim_elmts | ( | _XMP_array_t * | array, |
| int | array_index | ||
| ) |

| _Bool _XMP_calc_coord_on_target_nodes | ( | _XMP_nodes_t * | n, |
| int * | ncoord, | ||
| _XMP_nodes_t * | target_n, | ||
| int * | target_ncoord | ||
| ) |


| _Bool _XMP_calc_coord_on_target_nodes2 | ( | _XMP_nodes_t * | n, |
| int * | ncoord, | ||
| _XMP_nodes_t * | target_n, | ||
| int * | target_ncoord | ||
| ) |


| size_t _XMP_calc_copy_chunk | ( | const int | copy_chunk_dim, |
| const _XMP_array_section_t * | array | ||
| ) |

| int _XMP_calc_global_index_BCAST | ( | int | dst_dim, |
| int * | dst_l, | ||
| int * | dst_u, | ||
| int * | dst_s, | ||
| _XMP_array_t * | src_array, | ||
| int * | src_array_nodes_ref, | ||
| int * | src_l, | ||
| int * | src_u, | ||
| int * | src_s | ||
| ) |

| int _XMP_calc_global_index_HOMECOPY | ( | _XMP_array_t * | dst_array, |
| int | dst_dim_index, | ||
| int * | dst_l, | ||
| int * | dst_u, | ||
| int * | dst_s, | ||
| int * | src_l, | ||
| int * | src_u, | ||
| int * | src_s | ||
| ) |

| int _XMP_calc_gmove_array_owner_linear_rank_SCALAR | ( | _XMP_array_t * | array, |
| int * | ref_index | ||
| ) |


| int _XMP_calc_linear_rank | ( | _XMP_nodes_t * | n, |
| int * | rank_array | ||
| ) |

| int _XMP_calc_linear_rank_on_target_nodes | ( | _XMP_nodes_t * | n, |
| int * | rank_array, | ||
| _XMP_nodes_t * | target_nodes | ||
| ) |

| int _XMP_calc_nodes_index_from_inherit_nodes_index | ( | _XMP_nodes_t * | nodes, |
| int | inherit_nodes_index | ||
| ) |


| void _XMP_calc_rank_array | ( | _XMP_nodes_t * | n, |
| int * | rank_array, | ||
| int | linear_rank | ||
| ) |

| int _XMP_calc_template_owner_SCALAR | ( | _XMP_template_t * | ref_template, |
| int | dim_index, | ||
| long long | ref_index | ||
| ) |


| int _XMP_calc_template_par_triplet | ( | _XMP_template_t * | template, |
| int | template_index, | ||
| int | nodes_rank, | ||
| int * | template_lower, | ||
| int * | template_upper, | ||
| int * | template_stride | ||
| ) |


| void _XMP_calc_template_size | ( | _XMP_template_t * | t | ) |


| int _XMP_check_gmove_array_ref_inclusion_SCALAR | ( | _XMP_array_t * | array, |
| int | array_index, | ||
| int | ref_index | ||
| ) |


| void _XMP_check_reflect_type | ( | void | ) |
| int _XMP_check_template_ref_inclusion | ( | int | ref_lower, |
| int | ref_upper, | ||
| int | ref_stride, | ||
| _XMP_template_t * | t, | ||
| int | index | ||
| ) |
| void _XMP_coarray_lastly_deallocate | ( | ) |
Deallocate memory space and an object of the last coarray.
| _XMP_nodes_t* _XMP_create_nodes_by_comm | ( | int | is_member, |
| _XMP_comm_t * | comm | ||
| ) |
| _XMP_nodes_t* _XMP_create_nodes_by_template_ref | ( | _XMP_template_t * | ref_template, |
| int * | shrink, | ||
| long long * | ref_lower, | ||
| long long * | ref_upper, | ||
| long long * | ref_stride | ||
| ) |


| _XMP_nodes_ref_t* _XMP_create_nodes_ref_for_target_nodes | ( | _XMP_nodes_t * | n, |
| int * | rank_array, | ||
| _XMP_nodes_t * | target_nodes | ||
| ) |

| void _XMP_create_shadow_comm | ( | _XMP_array_t * | array, |
| int | array_index | ||
| ) |

| _XMP_template_t* _XMP_create_template_desc | ( | int | dim, |
| _Bool | is_fixed | ||
| ) |


| _XMP_nodes_t* _XMP_create_temporary_nodes | ( | _XMP_nodes_t * | n | ) |

| void _XMP_dealloc_array | ( | _XMP_array_t * | array_desc | ) |
| void _XMP_dist_template_BLOCK | ( | _XMP_template_t * | template, |
| int | template_index, | ||
| int | nodes_index | ||
| ) |
| void _XMP_dist_template_BLOCK_CYCLIC | ( | _XMP_template_t * | template, |
| int | template_index, | ||
| int | nodes_index, | ||
| unsigned long long | width | ||
| ) |
| void _XMP_dist_template_CYCLIC | ( | _XMP_template_t * | template, |
| int | template_index, | ||
| int | nodes_index | ||
| ) |
| void _XMP_dist_template_DUPLICATION | ( | _XMP_template_t * | template, |
| int | template_index | ||
| ) |
| void _XMP_dist_template_GBLOCK | ( | _XMP_template_t * | template, |
| int | template_index, | ||
| int | nodes_index, | ||
| int * | mapping_array, | ||
| int * | temp0 | ||
| ) |

| void _XMP_fatal | ( | char * | msg | ) |
| void _XMP_fatal_nomsg | ( | ) |
| void _XMP_finalize | ( | bool | isFinalize | ) |

| void _XMP_finalize_array_desc | ( | _XMP_array_t * | array | ) |

| void _XMP_finalize_comm | ( | _XMP_comm_t * | comm | ) |
| void _XMP_finalize_nodes | ( | _XMP_nodes_t * | nodes | ) |


| void _XMP_finalize_nodes_ref | ( | _XMP_nodes_ref_t * | nodes_ref | ) |


| void _XMP_finalize_onesided_functions | ( | ) |

| void _XMP_finalize_reflect_sched | ( | _XMP_reflect_sched_t * | sched, |
| _Bool | free_buf | ||
| ) |


| void _XMP_finalize_template | ( | _XMP_template_t * | template | ) |

| void _XMP_finalize_world | ( | bool | isFinalize | ) |

| void _XMP_G2L | ( | long long int | global_idx, |
| int * | local_idx, | ||
| _XMP_template_t * | template, | ||
| int | template_index | ||
| ) |

| _XMP_async_comm_t* _XMP_get_current_async | ( | ) |
| size_t _XMP_get_datatype_size | ( | int | datatype | ) |
| int _XMP_get_dim_of_allelmts | ( | const int | dims, |
| const _XMP_array_section_t * | array_info | ||
| ) |
| _XMP_nodes_t* _XMP_get_execution_nodes | ( | void | ) |

| int _XMP_get_execution_nodes_rank | ( | void | ) |
| int _XMP_get_next_rank | ( | _XMP_nodes_t * | nodes, |
| int * | rank_array | ||
| ) |
| unsigned long long _XMP_get_on_ref_id | ( | void | ) |

| void _XMP_gmove_array_array_common | ( | _XMP_gmv_desc_t * | gmv_desc_leftp, |
| _XMP_gmv_desc_t * | gmv_desc_rightp, | ||
| int * | dst_l, | ||
| int * | dst_u, | ||
| int * | dst_s, | ||
| unsigned long long * | dst_d, | ||
| int * | src_l, | ||
| int * | src_u, | ||
| int * | src_s, | ||
| unsigned long long * | src_d, | ||
| int | mode | ||
| ) |


| unsigned long long _XMP_gmove_bcast_ARRAY | ( | void * | dst_addr, |
| int | dst_dim, | ||
| int * | dst_l, | ||
| int * | dst_u, | ||
| int * | dst_s, | ||
| unsigned long long * | dst_d, | ||
| void * | src_addr, | ||
| int | src_dim, | ||
| int * | src_l, | ||
| int * | src_u, | ||
| int * | src_s, | ||
| unsigned long long * | src_d, | ||
| int | type, | ||
| size_t | type_size, | ||
| int | root_rank | ||
| ) |

| void _XMP_gmove_bcast_SCALAR | ( | void * | dst_addr, |
| void * | src_addr, | ||
| size_t | type_size, | ||
| int | root_rank | ||
| ) |
| void _XMP_gmove_garray_garray | ( | _XMP_gmv_desc_t * | gmv_desc_leftp, |
| _XMP_gmv_desc_t * | gmv_desc_rightp, | ||
| int | mode | ||
| ) |

| void _XMP_gmove_garray_larray | ( | _XMP_gmv_desc_t * | gmv_desc_leftp, |
| _XMP_gmv_desc_t * | gmv_desc_rightp, | ||
| int | mode | ||
| ) |

| void _XMP_gmove_garray_scalar | ( | _XMP_gmv_desc_t * | gmv_desc_leftp, |
| void * | scalar, | ||
| int | mode | ||
| ) |


| void _XMP_gmove_inout_scalar | ( | void * | scalar, |
| _XMP_gmv_desc_t * | gmv_desc, | ||
| int | rdma_type | ||
| ) |

| void _XMP_gmove_larray_garray | ( | _XMP_gmv_desc_t * | gmv_desc_leftp, |
| _XMP_gmv_desc_t * | gmv_desc_rightp, | ||
| int | mode | ||
| ) |

| void _XMP_gmove_localcopy_ARRAY | ( | int | type, |
| int | type_size, | ||
| void * | dst_addr, | ||
| int | dst_dim, | ||
| int * | dst_l, | ||
| int * | dst_u, | ||
| int * | dst_s, | ||
| unsigned long long * | dst_d, | ||
| void * | src_addr, | ||
| int | src_dim, | ||
| int * | src_l, | ||
| int * | src_u, | ||
| int * | src_s, | ||
| unsigned long long * | src_d | ||
| ) |


| void _XMP_gmove_scalar_garray | ( | void * | scalar, |
| _XMP_gmv_desc_t * | gmv_desc_rightp, | ||
| int | mode | ||
| ) |

| void _XMP_gtol_array_ref_triplet | ( | _XMP_array_t * | array, |
| int | dim_index, | ||
| int * | lower, | ||
| int * | upper, | ||
| int * | stride | ||
| ) |


| unsigned long long _XMP_gtol_calc_offset | ( | _XMP_array_t * | a, |
| int | g_idx[] | ||
| ) |
| void _XMP_init | ( | int | argc, |
| char ** | argv, | ||
| MPI_Comm | comm | ||
| ) |
| void _XMP_init_array_comm | ( | _XMP_array_t * | array, |
| ... | |||
| ) |
| void _XMP_init_array_comm2 | ( | _XMP_array_t * | array, |
| int | args[] | ||
| ) |

| void _XMP_init_array_desc | ( | _XMP_array_t ** | array, |
| _XMP_template_t * | template, | ||
| int | dim, | ||
| int | type, | ||
| size_t | type_size, | ||
| ... | |||
| ) |

| void _XMP_init_array_desc_NOT_ALIGNED | ( | _XMP_array_t ** | adesc, |
| _XMP_template_t * | template, | ||
| int | ndims, | ||
| int | type, | ||
| size_t | type_size, | ||
| unsigned long long * | dim_acc, | ||
| void * | ap | ||
| ) |

| void _XMP_init_array_nodes | ( | _XMP_array_t * | array | ) |

| _XMP_nodes_ref_t* _XMP_init_nodes_ref | ( | _XMP_nodes_t * | n, |
| int * | rank_array | ||
| ) |

| _XMP_nodes_t* _XMP_init_nodes_struct_EXEC | ( | int | dim, |
| int * | dim_size, | ||
| int | is_static | ||
| ) |


| _XMP_nodes_t* _XMP_init_nodes_struct_GLOBAL | ( | int | dim, |
| int * | dim_size, | ||
| int | is_static | ||
| ) |

| _XMP_nodes_t* _XMP_init_nodes_struct_NODES_NAMED | ( | int | dim, |
| _XMP_nodes_t * | ref_nodes, | ||
| int * | shrink, | ||
| int * | ref_lower, | ||
| int * | ref_upper, | ||
| int * | ref_stride, | ||
| int * | dim_size, | ||
| int | is_static | ||
| ) |

| _XMP_nodes_t* _XMP_init_nodes_struct_NODES_NUMBER | ( | int | dim, |
| int | ref_lower, | ||
| int | ref_upper, | ||
| int | ref_stride, | ||
| int * | dim_size, | ||
| int | is_static | ||
| ) |

| void _XMP_init_reflect_sched | ( | _XMP_reflect_sched_t * | sched | ) |

| void _XMP_init_shadow | ( | _XMP_array_t * | array, |
| ... | |||
| ) |

| void _XMP_init_template_chunk | ( | _XMP_template_t * | template, |
| _XMP_nodes_t * | nodes | ||
| ) |

| void _XMP_init_template_FIXED | ( | _XMP_template_t ** | template, |
| int | dim, | ||
| ... | |||
| ) |

| void _XMP_init_world | ( | int * | argc, |
| char *** | argv | ||
| ) |
| void _XMP_initialize_async_comm_tab | ( | ) |
| void _XMP_initialize_onesided_functions | ( | ) |

| void _XMP_L2G | ( | int | local_idx, |
| long long int * | global_idx, | ||
| _XMP_template_t * | template, | ||
| int | template_index | ||
| ) |
| void _XMP_local_get | ( | void * | dst, |
| const _XMP_coarray_t * | src_desc, | ||
| const int | dst_contiguous, | ||
| const int | src_contiguous, | ||
| const int | dst_dims, | ||
| const int | src_dims, | ||
| const _XMP_array_section_t * | dst_info, | ||
| const _XMP_array_section_t * | src_info, | ||
| const | size_t, | ||
| const | size_t | ||
| ) |

| void _XMP_local_put | ( | _XMP_coarray_t * | dst_desc, |
| const void * | src, | ||
| const int | dst_contiguous, | ||
| const int | src_contiguous, | ||
| const int | dst_dims, | ||
| const int | src_dims, | ||
| const _XMP_array_section_t * | dst_info, | ||
| const _XMP_array_section_t * | src_info, | ||
| const | size_t, | ||
| const | size_t | ||
| ) |

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

| void _XMP_nodes_dealloc_after_wait_async | ( | _XMP_nodes_t * | n | ) |

| void _XMP_normalize_array_section | ( | _XMP_gmv_desc_t * | gmv_desc, |
| int | idim, | ||
| int * | lower, | ||
| int * | upper, | ||
| int * | stride | ||
| ) |
| void _XMP_pack_vector | ( | char *restrict | dst, |
| char *restrict | src, | ||
| int | count, | ||
| int | blocklength, | ||
| long | stride | ||
| ) |

| void _XMP_pack_vector2 | ( | char *restrict | dst, |
| char *restrict | src, | ||
| int | count, | ||
| int | blocklength, | ||
| int | nnodes, | ||
| int | type_size, | ||
| int | src_block_dim | ||
| ) |
| void _XMP_pop_n_free_nodes | ( | void | ) |
| void _XMP_pop_n_free_nodes_wo_finalize_comm | ( | void | ) |
| void _XMP_pop_nodes | ( | void | ) |
| void _XMP_push_comm | ( | _XMP_comm_t * | comm | ) |
| void _XMP_push_nodes | ( | _XMP_nodes_t * | nodes | ) |

| void _XMP_reduce_CLAUSE | ( | void * | data_addr, |
| int | count, | ||
| int | datatype, | ||
| int | op | ||
| ) |
| void _XMP_reduce_NODES_ENTIRE | ( | _XMP_nodes_t * | nodes, |
| void * | addr, | ||
| int | count, | ||
| int | datatype, | ||
| int | op | ||
| ) |

| void _XMP_reduce_shadow_sum | ( | _XMP_array_t * | a | ) |


| void _XMP_reduce_shadow_wait | ( | _XMP_array_t * | a | ) |
| void _XMP_reflect__ | ( | _XMP_array_t * | a | ) |
| void _XMP_reflect_async__ | ( | _XMP_array_t * | a, |
| int | async_id | ||
| ) |
| void _XMP_reflect_shadow_FULL | ( | void * | array_addr, |
| _XMP_array_t * | array_desc, | ||
| int | array_index | ||
| ) |
| void _XMP_sched_loop_template_BLOCK | ( | int | ser_init, |
| int | ser_cond, | ||
| int | ser_step, | ||
| int * | par_init, | ||
| int * | par_cond, | ||
| int * | par_step, | ||
| _XMP_template_t * | template, | ||
| int | template_index | ||
| ) |


| void _XMP_sched_loop_template_BLOCK_CYCLIC | ( | int | ser_init, |
| int | ser_cond, | ||
| int | ser_step, | ||
| int * | par_init, | ||
| int * | par_cond, | ||
| int * | par_step, | ||
| _XMP_template_t * | template, | ||
| int | template_index | ||
| ) |


| void _XMP_sched_loop_template_CYCLIC | ( | int | ser_init, |
| int | ser_cond, | ||
| int | ser_step, | ||
| int * | par_init, | ||
| int * | par_cond, | ||
| int * | par_step, | ||
| _XMP_template_t * | template, | ||
| int | template_index | ||
| ) |


| void _XMP_sched_loop_template_DUPLICATION | ( | int | ser_init, |
| int | ser_cond, | ||
| int | ser_step, | ||
| int * | par_init, | ||
| int * | par_cond, | ||
| int * | par_step, | ||
| _XMP_template_t * | template, | ||
| int | template_index | ||
| ) |


| void _XMP_sched_loop_template_GBLOCK | ( | int | ser_init, |
| int | ser_cond, | ||
| int | ser_step, | ||
| int * | par_init, | ||
| int * | par_cond, | ||
| int * | par_step, | ||
| _XMP_template_t * | template, | ||
| int | template_index | ||
| ) |


| int _XMP_sched_loop_template_width_1 | ( | int | ser_init, |
| int | ser_cond, | ||
| int | ser_step, | ||
| int * | par_init, | ||
| int * | par_cond, | ||
| int * | par_step, | ||
| int | template_lower, | ||
| int | template_upper, | ||
| int | template_stride | ||
| ) |


| int _XMP_sched_loop_template_width_N | ( | int | ser_init, |
| int | ser_cond, | ||
| int | ser_step, | ||
| int * | par_init, | ||
| int * | par_cond, | ||
| int * | par_step, | ||
| int | template_lower, | ||
| int | template_upper, | ||
| int | template_stride, | ||
| int | width, | ||
| int | template_ser_lower, | ||
| int | template_ser_upper | ||
| ) |
| void _XMP_set_reflect__ | ( | _XMP_array_t * | a, |
| int | dim, | ||
| int | lwidth, | ||
| int | uwidth, | ||
| int | is_periodic | ||
| ) |
| void _XMP_sort | ( | _XMP_array_t * | a_desc, |
| _XMP_array_t * | b_desc, | ||
| int | is_up | ||
| ) |


| int _XMP_split_world_by_color | ( | int | color | ) |
| void _XMP_sync_images_EXEC | ( | int * | status | ) |

| void _XMP_translate_nodes_rank_array_to_ranks | ( | _XMP_nodes_t * | nodes, |
| int * | ranks, | ||
| int * | rank_array, | ||
| int | shrink_nodes_size | ||
| ) |


| void _XMP_unexpected_error | ( | void | ) |
| void _XMP_unpack_vector | ( | char *restrict | dst, |
| char *restrict | src, | ||
| int | count, | ||
| int | blocklength, | ||
| long | stride | ||
| ) |
| void _XMP_wait_async__ | ( | int | async_id | ) |
| void _XMP_warning | ( | char * | msg | ) |

| void _XMPC_pack_array | ( | void * | buffer, |
| void * | src, | ||
| int | array_type, | ||
| size_t | array_type_size, | ||
| int | array_dim, | ||
| int * | l, | ||
| int * | u, | ||
| int * | s, | ||
| unsigned long long * | d | ||
| ) |

| void _XMPC_unpack_array | ( | void * | dst, |
| void * | buffer, | ||
| int | array_type, | ||
| size_t | array_type_size, | ||
| int | array_dim, | ||
| int * | l, | ||
| int * | u, | ||
| int * | s, | ||
| unsigned long long * | d | ||
| ) |

| void _XMPF_reduce_FLMM_NODES_ENTIRE | ( | _XMP_nodes_t * | nodes, |
| void * | addr, | ||
| int | count, | ||
| int | datatype, | ||
| int | op, | ||
| int | num_locs, | ||
| void ** | loc_vars, | ||
| int * | loc_types | ||
| ) |

| void _XMPF_unpack_transpose_vector | ( | char *restrict | dst, |
| char *restrict | src, | ||
| int | dst_stride, | ||
| int | src_stride, | ||
| int | type_size, | ||
| int | dst_block_dim | ||
| ) |
| _XMP_csd_t* alloc_csd | ( | int | n | ) |


| _XMP_csd_t* bsd2csd | ( | _XMP_bsd_t * | bsd | ) |

| _XMP_csd_t* copy_csd | ( | _XMP_csd_t * | csd | ) |
| _XMP_comm_set_t* csd2comm_set | ( | _XMP_csd_t * | csd | ) |

| void free_comm_set | ( | _XMP_comm_set_t * | comm_set | ) |

| void free_csd | ( | _XMP_csd_t * | csd | ) |
| int get_csd_size | ( | _XMP_csd_t * | csd | ) |
| _XMP_csd_t* intersection_csds | ( | _XMP_csd_t * | csd1, |
| _XMP_csd_t * | csd2 | ||
| ) |

| _XMP_rsd_t* intersection_rsds | ( | _XMP_rsd_t * | _rsd1, |
| _XMP_rsd_t * | _rsd2 | ||
| ) |


| void print_bsd | ( | _XMP_bsd_t * | bsd | ) |
| void print_comm_set | ( | _XMP_comm_set_t * | comm_set0 | ) |
| void print_csd | ( | _XMP_csd_t * | csd | ) |
| void print_rsd | ( | _XMP_rsd_t * | rsd | ) |
| void reduce_csd | ( | _XMP_csd_t * | csd[_XMP_N_MAX_DIM], |
| int | ndims | ||
| ) |

| _XMP_csd_t* rsd2csd | ( | _XMP_rsd_t * | rsd | ) |
| _Bool xmp_is_async | ( | ) |
| void xmp_reduce_initialize | ( | ) |
| void xmpc_end_async | ( | int | async_id | ) |
| int xmpc_ltog | ( | int | local_idx, |
| _XMP_template_t * | template, | ||
| int | template_index, | ||
| int | offset | ||
| ) |

| void xmpf_matmul | ( | void * | x_p, |
| void * | a_p, | ||
| void * | b_p | ||
| ) |
| void xmpf_pack | ( | void * | v_p, |
| void * | a_p, | ||
| void * | m_p | ||
| ) |
| void xmpf_pack_mask | ( | void * | v_p, |
| void * | a_p, | ||
| void * | m_p | ||
| ) |
| void xmpf_pack_nomask | ( | void * | v_p, |
| void * | a_p | ||
| ) |
| void xmpf_transpose | ( | void * | dst_p, |
| void * | src_p, | ||
| int | opt | ||
| ) |
| void xmpf_unpack | ( | void * | a_p, |
| void * | v_p, | ||
| void * | m_p | ||
| ) |
| void xmpf_unpack_mask | ( | void * | a_p, |
| void * | v_p, | ||
| void * | m_p | ||
| ) |
| void xmpf_unpack_nomask | ( | void * | a_p, |
| void * | v_p | ||
| ) |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |