|
libxmp/libxmpf in Omni Compiler
1.3.4
|
#include <stddef.h>#include <mpi.h>

Go to the source code of this file.
Macros | |
| #define | _XMP_USERAPI |
| #define | XMP_FAILURE -2000 |
| #define | XMP_UNDEFINED -2001 |
| #define | XMP_ENTIRE_NODES 2000 |
| #define | XMP_EXECUTING_NODES 2001 |
| #define | XMP_PRIMARY_NODES 2002 |
| #define | XMP_EQUIVALENCE_NODES 2003 |
| #define | XMP_NOT_DISTRIBUTED 2100 |
| #define | XMP_BLOCK 2101 |
| #define | XMP_CYCLIC 2102 |
| #define | XMP_GBLOCK 2103 |
| #define | XMP_DESC_NODES 2200 |
| #define | XMP_DESC_TEMPLATE 2201 |
| #define | XMP_DESC_ARRAY 2202 |
Typedefs | |
| typedef void * | xmp_desc_t |
Functions | |
| MPI_Comm | xmp_get_mpi_comm (void) |
| void | xmp_init_mpi (int *argc, char ***argv) |
| void | xmp_finalize_mpi (void) |
| void | xmp_init (MPI_Comm comm) |
| void | xmp_finalize () |
| int | xmp_num_nodes (void) |
| int | xmp_num_images (void) |
| int | xmp_desc_kind (xmp_desc_t d, int *kind) |
| int | xmp_node_num (void) |
| int | xmpc_node_num (void) |
| int | xmpc_this_image (void) |
| void | xmp_barrier (void) |
| int | xmp_all_num_nodes (void) |
| int | xmp_all_node_num (void) |
| int | xmpc_all_node_num (void) |
| double | xmp_wtime (void) |
| double | xmp_wtick (void) |
| int | xmp_array_ndims (xmp_desc_t d, int *ndims) |
| int | xmp_array_lbound (xmp_desc_t d, int dim, int *lbound) |
| int | xmp_array_ubound (xmp_desc_t d, int dim, int *ubound) |
| size_t | xmp_array_type_size (xmp_desc_t d) |
| int | xmp_array_gsize (xmp_desc_t d, int dim) |
| int | xmp_array_lsize (xmp_desc_t d, int dim, int *lsize) |
| int | xmp_array_gcllbound (xmp_desc_t d, int dim) |
| int | xmp_array_gclubound (xmp_desc_t d, int dim) |
| int | xmp_array_lcllbound (xmp_desc_t d, int dim) |
| int | xmp_array_lclubound (xmp_desc_t d, int dim) |
| int | xmp_array_gcglbound (xmp_desc_t d, int dim) |
| int | xmp_array_gcgubound (xmp_desc_t d, int dim) |
| int | xmp_array_laddr (xmp_desc_t d, void **laddr) |
| int | xmp_array_lshadow (xmp_desc_t d, int dim, int *lshadow) |
| int | xmp_array_ushadow (xmp_desc_t d, int dim, int *ushadow) |
| int | xmp_array_owner (xmp_desc_t d, int ndims, int index[], int dim) |
| int | xmp_array_lead_dim (xmp_desc_t d, int size[]) |
| int | xmp_array_gtol (xmp_desc_t d, int dim, int g_idx, int *lidx) |
| int | xmp_align_axis (xmp_desc_t d, int dim, int *axis) |
| int | xmp_align_offset (xmp_desc_t d, int dim, int *offset) |
| int | xmp_align_format (xmp_desc_t d, int dim) |
| int | xmp_align_size (xmp_desc_t d, int dim) |
| int | xmp_align_replicated (xmp_desc_t d, int dim, int *replicated) |
| int | xmp_align_template (xmp_desc_t d, xmp_desc_t *dt) |
| int | xmp_template_fixed (xmp_desc_t d, int *fixed) |
| int | xmp_template_ndims (xmp_desc_t d, int *ndims) |
| int | xmp_template_lbound (xmp_desc_t d, int dim, int *lbound) |
| int | xmp_template_ubound (xmp_desc_t d, int dim, int *ubound) |
| int | xmp_template_gsize (xmp_desc_t d, int dim) |
| int | xmp_template_lsize (xmp_desc_t d, int dim) |
| int | xmp_dist_format (xmp_desc_t d, int dim, int *format) |
| int | xmp_dist_blocksize (xmp_desc_t d, int dim, int *blocksize) |
| int | xmp_dist_stride (xmp_desc_t d, int dim) |
| int | xmp_dist_nodes (xmp_desc_t d, xmp_desc_t *dn) |
| int | xmp_dist_axis (xmp_desc_t d, int dim, int *axis) |
| int | xmp_dist_gblockmap (xmp_desc_t d, int dim, int *map) |
| int | xmp_nodes_ndims (xmp_desc_t d, int *ndims) |
| int | xmp_nodes_index (xmp_desc_t d, int dim, int *index) |
| int | xmp_nodes_size (xmp_desc_t d, int dim, int *size) |
| int | xmp_nodes_rank (xmp_desc_t d, int *rank) |
| int | xmp_nodes_comm (xmp_desc_t d, void **comm) |
| int | xmp_nodes_equiv (xmp_desc_t d, xmp_desc_t *dn, int lb[], int ub[], int st[]) |
| void | xmp_sched_template_index (int *local_start_index, int *local_end_index, const int global_start_index, const int global_end_index, const int step, const xmp_desc_t template, const int template_dim) |
| void | xmp_sync_memory (const int *status) |
| Execute sync_memory() More... | |
| void | xmp_sync_all (const int *status) |
| Execute sync_all() More... | |
| void | xmp_sync_image (const int image, int *status) |
| Execute sync_image() More... | |
| void | xmp_sync_images (const int num, int *image_set, int *status) |
| Execute sync_images() More... | |
| void | xmp_sync_images_all (int *status) |
| Execute sync_images_all() More... | |
| void | xmp_sort_up (xmp_desc_t a_desc, xmp_desc_t b_desc) |
| void | xmp_sort_down (xmp_desc_t a_desc, xmp_desc_t b_desc) |
| void * | xmp_malloc (xmp_desc_t d,...) |
| void | xmp_free (xmp_desc_t d) |
| void | xmp_exit (int status) |
| void | xmp_array_lbound_global (xmp_desc_t d, int dim, int *global_i) |
| void | xmp_array_ubound_global (xmp_desc_t d, int dim, int *global_i) |
| void | xmp_atomic_define (int, int) |
| void | xmp_atomic_ref (int *, int) |
| #define _XMP_USERAPI |
| #define XMP_BLOCK 2101 |
| #define XMP_CYCLIC 2102 |
| #define XMP_DESC_ARRAY 2202 |
| #define XMP_DESC_NODES 2200 |
| #define XMP_DESC_TEMPLATE 2201 |
| #define XMP_ENTIRE_NODES 2000 |
| #define XMP_EQUIVALENCE_NODES 2003 |
| #define XMP_EXECUTING_NODES 2001 |
| #define XMP_FAILURE -2000 |
| #define XMP_GBLOCK 2103 |
| #define XMP_NOT_DISTRIBUTED 2100 |
| #define XMP_PRIMARY_NODES 2002 |
| #define XMP_UNDEFINED -2001 |
| typedef void* xmp_desc_t |
| int xmp_align_axis | ( | xmp_desc_t | d, |
| int | dim, | ||
| int * | axis | ||
| ) |

| int xmp_align_format | ( | xmp_desc_t | d, |
| int | dim | ||
| ) |

| int xmp_align_offset | ( | xmp_desc_t | d, |
| int | dim, | ||
| int * | offset | ||
| ) |
| int xmp_align_replicated | ( | xmp_desc_t | d, |
| int | dim, | ||
| int * | replicated | ||
| ) |

| int xmp_align_size | ( | xmp_desc_t | d, |
| int | dim | ||
| ) |

| int xmp_align_template | ( | xmp_desc_t | d, |
| xmp_desc_t * | dt | ||
| ) |

| int xmp_all_node_num | ( | void | ) |
| int xmp_all_num_nodes | ( | void | ) |
| int xmp_array_gcglbound | ( | xmp_desc_t | d, |
| int | dim | ||
| ) |
| int xmp_array_gcgubound | ( | xmp_desc_t | d, |
| int | dim | ||
| ) |
| int xmp_array_gcllbound | ( | xmp_desc_t | d, |
| int | dim | ||
| ) |
| int xmp_array_gclubound | ( | xmp_desc_t | d, |
| int | dim | ||
| ) |
| int xmp_array_gsize | ( | xmp_desc_t | d, |
| int | dim | ||
| ) |
| int xmp_array_gtol | ( | xmp_desc_t | d, |
| int | dim, | ||
| int | g_idx, | ||
| int * | lidx | ||
| ) |


| int xmp_array_laddr | ( | xmp_desc_t | d, |
| void ** | laddr | ||
| ) |
| int xmp_array_lbound | ( | xmp_desc_t | d, |
| int | dim, | ||
| int * | lbound | ||
| ) |
| void xmp_array_lbound_global | ( | xmp_desc_t | d, |
| int | dim, | ||
| int * | global_i | ||
| ) |
| int xmp_array_lcllbound | ( | xmp_desc_t | d, |
| int | dim | ||
| ) |
| int xmp_array_lclubound | ( | xmp_desc_t | d, |
| int | dim | ||
| ) |
| int xmp_array_lead_dim | ( | xmp_desc_t | d, |
| int | size[] | ||
| ) |

| int xmp_array_lshadow | ( | xmp_desc_t | d, |
| int | dim, | ||
| int * | lshadow | ||
| ) |
| int xmp_array_lsize | ( | xmp_desc_t | d, |
| int | dim, | ||
| int * | lsize | ||
| ) |
| int xmp_array_ndims | ( | xmp_desc_t | d, |
| int * | ndims | ||
| ) |

| int xmp_array_owner | ( | xmp_desc_t | d, |
| int | ndims, | ||
| int | index[], | ||
| int | dim | ||
| ) |
| size_t xmp_array_type_size | ( | xmp_desc_t | d | ) |

| int xmp_array_ubound | ( | xmp_desc_t | d, |
| int | dim, | ||
| int * | ubound | ||
| ) |
| void xmp_array_ubound_global | ( | xmp_desc_t | d, |
| int | dim, | ||
| int * | global_i | ||
| ) |
| int xmp_array_ushadow | ( | xmp_desc_t | d, |
| int | dim, | ||
| int * | ushadow | ||
| ) |
| void xmp_atomic_ref | ( | int * | , |
| int | |||
| ) |
| void xmp_barrier | ( | void | ) |

| int xmp_desc_kind | ( | xmp_desc_t | d, |
| int * | kind | ||
| ) |
| int xmp_dist_axis | ( | xmp_desc_t | d, |
| int | dim, | ||
| int * | axis | ||
| ) |

| int xmp_dist_blocksize | ( | xmp_desc_t | d, |
| int | dim, | ||
| int * | blocksize | ||
| ) |


| int xmp_dist_format | ( | xmp_desc_t | d, |
| int | dim, | ||
| int * | format | ||
| ) |

| int xmp_dist_gblockmap | ( | xmp_desc_t | d, |
| int | dim, | ||
| int * | map | ||
| ) |

| int xmp_dist_nodes | ( | xmp_desc_t | d, |
| xmp_desc_t * | dn | ||
| ) |

| int xmp_dist_stride | ( | xmp_desc_t | d, |
| int | dim | ||
| ) |
| void xmp_exit | ( | int | status | ) |

| void xmp_finalize | ( | ) |
| void xmp_free | ( | xmp_desc_t | d | ) |

| MPI_Comm xmp_get_mpi_comm | ( | void | ) |
| void xmp_init | ( | MPI_Comm | comm | ) |
| void* xmp_malloc | ( | xmp_desc_t | d, |
| ... | |||
| ) |

| int xmp_node_num | ( | void | ) |

| int xmp_nodes_comm | ( | xmp_desc_t | d, |
| void ** | comm | ||
| ) |
| int xmp_nodes_equiv | ( | xmp_desc_t | d, |
| xmp_desc_t * | dn, | ||
| int | lb[], | ||
| int | ub[], | ||
| int | st[] | ||
| ) |

| int xmp_nodes_index | ( | xmp_desc_t | d, |
| int | dim, | ||
| int * | index | ||
| ) |
| int xmp_nodes_ndims | ( | xmp_desc_t | d, |
| int * | ndims | ||
| ) |

| int xmp_nodes_rank | ( | xmp_desc_t | d, |
| int * | rank | ||
| ) |
| int xmp_nodes_size | ( | xmp_desc_t | d, |
| int | dim, | ||
| int * | size | ||
| ) |

| int xmp_num_images | ( | void | ) |


| int xmp_num_nodes | ( | void | ) |

| void xmp_sched_template_index | ( | int * | local_start_index, |
| int * | local_end_index, | ||
| const int | global_start_index, | ||
| const int | global_end_index, | ||
| const int | step, | ||
| const xmp_desc_t | template, | ||
| const int | template_dim | ||
| ) |

| void xmp_sort_down | ( | xmp_desc_t | a_desc, |
| xmp_desc_t | b_desc | ||
| ) |
| void xmp_sort_up | ( | xmp_desc_t | a_desc, |
| xmp_desc_t | b_desc | ||
| ) |
| void xmp_sync_all | ( | const int * | status | ) |
Execute sync_all()

| void xmp_sync_image | ( | const int | image, |
| int * | status | ||
| ) |
Execute sync_image()

| void xmp_sync_images | ( | const int | num, |
| int * | image_set, | ||
| int * | status | ||
| ) |
Execute sync_images()

| void xmp_sync_images_all | ( | int * | status | ) |
Execute sync_images_all()

| void xmp_sync_memory | ( | const int * | status | ) |
Execute sync_memory()

| int xmp_template_fixed | ( | xmp_desc_t | d, |
| int * | fixed | ||
| ) |
| int xmp_template_gsize | ( | xmp_desc_t | d, |
| int | dim | ||
| ) |
| int xmp_template_lbound | ( | xmp_desc_t | d, |
| int | dim, | ||
| int * | lbound | ||
| ) |
| int xmp_template_lsize | ( | xmp_desc_t | d, |
| int | dim | ||
| ) |
| int xmp_template_ndims | ( | xmp_desc_t | d, |
| int * | ndims | ||
| ) |
| int xmp_template_ubound | ( | xmp_desc_t | d, |
| int | dim, | ||
| int * | ubound | ||
| ) |
| int xmpc_all_node_num | ( | void | ) |
| int xmpc_node_num | ( | void | ) |


| int xmpc_this_image | ( | void | ) |
