libxmp/libxmpf in Omni Compiler
1.3.4
|
Go to the documentation of this file. 1 #ifndef _XMP_DATA_STRUCT
2 #define _XMP_DATA_STRUCT
7 #if defined(OMNI_TARGET_CPU_KCOMPUTER) && defined(K_RDMA_REFLECT)
10 #if defined(_XMP_XACC)
13 #if defined(_XMP_UTOFU)
17 #define _XMP_comm_t void
145 #if defined(_XMP_XACC)
146 #if defined(_XMP_TCA)
148 void *lo_send_host_buf, *lo_recv_host_buf;
149 void *hi_send_host_buf, *hi_recv_host_buf;
152 off_t lo_src_offset, lo_dst_offset;
153 off_t hi_src_offset, hi_dst_offset;
154 void *lo_send_handle, *lo_recv_handle;
155 void *hi_send_handle, *hi_recv_handle;
157 void *lo_send_host_buf, *lo_recv_host_buf;
158 void *hi_send_host_buf, *hi_recv_host_buf;
159 _XACC_queue_t lo_async_id;
160 _XACC_queue_t hi_async_id;
161 _XACC_memory_t dev_mem;
164 size_t lo_send_offset;
165 size_t lo_recv_offset;
166 size_t hi_send_offset;
167 size_t hi_recv_offset;
168 _XACC_memory_t lo_send_buf_mem;
169 _XACC_memory_t lo_recv_buf_mem;
170 _XACC_memory_t hi_send_buf_mem;
171 _XACC_memory_t hi_recv_buf_mem;
172 size_t lo_send_buf_offset;
173 size_t lo_recv_buf_offset;
174 size_t hi_send_buf_offset;
175 size_t hi_recv_buf_offset;
280 #if defined(OMNI_TARGET_CPU_KCOMPUTER) && defined(K_RDMA_REFLECT)
284 #if defined(_XMP_TCA)
286 void* tca_reflect_desc;
308 #ifdef _XMP_MPI3_ONESIDED
360 #ifdef _XMP_MPI3_ONESIDED
371 utofu_stadd_t *stadds;
402 #if defined(_XMP_XACC)
471 #define _XMP_ASYNC_COMM_SIZE 511
472 #define _XMP_MAX_ASYNC_REQS (4 * _XMP_N_MAX_DIM * 10)
473 #define _XMP_MAX_ASYNC_NODES (20)
489 #endif // _XMP_DATA_STRUCT
struct _XMP_reflect_sched_type _XMP_reflect_sched_t
long long align_subscript
Definition: xmp_data_struct.h:246
struct _XMP_nodes_type _XMP_nodes_t
_XMP_array_t * host_array_desc
Definition: xmp_data_struct.h:484
int is_periodic
Definition: xmp_data_struct.h:126
int uwidth[_XMP_N_MAX_DIM]
Definition: xmp_data_struct.h:183
_XMP_nodes_t * array_nodes
Definition: xmp_data_struct.h:306
long long par_upper
Definition: xmp_data_struct.h:81
struct _XMP_comm_set_type _XMP_comm_set_t
int size
Definition: xmp_data_struct.h:32
_XMP_nodes_info_t info[1]
Definition: xmp_data_struct.h:60
Definition: xmp_data_struct.h:31
int shrink
Definition: xmp_data_struct.h:21
struct _XMP_template_chunk_type _XMP_template_chunk_t
int comm_size
Definition: xmp_data_struct.h:48
_XMP_template_info_t info[1]
Definition: xmp_data_struct.h:115
long * distance_of_coarray_elmts
Definition: xmp_data_struct.h:349
unsigned long long on_ref_id
Definition: xmp_data_struct.h:320
unsigned long long ser_size
Definition: xmp_data_struct.h:74
int use_subcomm
Definition: xmp_data_struct.h:55
Definition: xmp_data_struct.h:316
int align_template_index
Definition: xmp_data_struct.h:260
void * recvbuf
Definition: xmp_data_struct.h:452
_XMP_comm_t * subcomm
Definition: xmp_data_struct.h:54
_Bool is_periodic[_XMP_N_MAX_DIM]
Definition: xmp_data_struct.h:184
long long ser_lower
Definition: xmp_data_struct.h:72
struct _XMP_template_type _XMP_template_t
int u
Definition: xmp_data_struct.h:411
char ** addr
Definition: xmp_data_struct.h:329
int shadow_comm_rank
Definition: xmp_data_struct.h:257
int is_member
Definition: xmp_data_struct.h:46
int * lb
Definition: xmp_data_struct.h:398
MPI_Datatype datatype_hi
Definition: xmp_data_struct.h:129
struct _XMP_async_comm * next
Definition: xmp_data_struct.h:468
Definition: xmp_data_struct.h:194
_XMP_gpu_array_t * device_array_desc
Definition: xmp_data_struct.h:485
struct _XMP_nodes_type * inherit_nodes
Definition: xmp_data_struct.h:57
int * st
Definition: xmp_data_struct.h:400
_XMP_reflect_sched_t * reflect_acc_sched
Definition: xmp_data_struct.h:253
long length
Definition: xmp_data_struct.h:377
_XMP_template_chunk_t * chunk
Definition: xmp_data_struct.h:112
int n
Definition: xmp_data_struct.h:433
void * host_addr
Definition: xmp_data_struct.h:482
int align_comm_size
Definition: xmp_data_struct.h:301
MPI_Request * reqs
Definition: xmp_data_struct.h:187
int * u
Definition: xmp_data_struct.h:432
struct _XMP_gpu_data_type _XMP_gpu_data_t
MPI_Datatype * datatype
Definition: xmp_data_struct.h:186
int ser_upper
Definition: xmp_data_struct.h:200
int desc_kind
Definition: xmp_data_struct.h:268
struct _XMP_bsd_type _XMP_bsd_t
struct _XMP_nodes_ref_type _XMP_nodes_ref_t
_Bool is_regular_chunk
Definition: xmp_data_struct.h:89
void * sendbuf
Definition: xmp_data_struct.h:451
struct xmp_coarray _XMP_coarray_t
int * ub
Definition: xmp_data_struct.h:399
void * lo_recv_array
Definition: xmp_data_struct.h:137
char * real_addr
Definition: xmp_data_struct.h:336
long long par_lower
Definition: xmp_data_struct.h:80
int u
Definition: xmp_data_struct.h:421
Definition: xmp_data_struct.h:386
int shadow_comm_size
Definition: xmp_data_struct.h:256
struct _XMP_task_desc_type _XMP_task_desc_t
_Bool is_aligned_array
Definition: xmp_data_struct.h:481
int b
Definition: xmp_data_struct.h:422
void * lo_recv_buf
Definition: xmp_data_struct.h:134
size_t elmt_size
Definition: xmp_data_struct.h:339
_XMP_array_t * a
Definition: xmp_data_struct.h:454
int * distance_of_image_elmts
Definition: xmp_data_struct.h:357
struct _XMP_array_info_type _XMP_array_info_t
int shadow_type
Definition: xmp_data_struct.h:248
int ser_size
Definition: xmp_data_struct.h:201
_XMP_async_gmove_t * gmove
Definition: xmp_data_struct.h:466
struct _XMP_array_section _XMP_array_section_t
int * a_ub
Definition: xmp_data_struct.h:395
Definition: xmp_data_struct.h:119
struct _XMP_nodes_info_type _XMP_nodes_info_t
int type
Definition: xmp_data_struct.h:463
_XMP_nodes_info_t * onto_nodes_info
Definition: xmp_data_struct.h:94
size_t size
Definition: xmp_data_struct.h:486
MPI_Request req[4]
Definition: xmp_data_struct.h:131
int shrink_nodes_size
Definition: xmp_data_struct.h:66
_Bool is_fixed
Definition: xmp_data_struct.h:104
int l
Definition: xmp_data_struct.h:410
Definition: xmp_data_struct.h:70
int dim
Definition: xmp_data_struct.h:108
int hi_rank
Definition: xmp_data_struct.h:143
_Bool is_regular_chunk
Definition: xmp_data_struct.h:196
unsigned long long acc
Definition: xmp_data_struct.h:477
int comm_rank
Definition: xmp_data_struct.h:52
struct _XMP_async_gmove _XMP_async_gmove_t
int reflect_is_initialized
Definition: xmp_data_struct.h:121
int nreqs
Definition: xmp_data_struct.h:189
unsigned long long dim_elmts
Definition: xmp_data_struct.h:243
unsigned long long par_chunk_width
Definition: xmp_data_struct.h:86
_Bool is_used
Definition: xmp_data_struct.h:462
void * hi_send_buf
Definition: xmp_data_struct.h:135
MPI_Datatype datatype_lo
Definition: xmp_data_struct.h:128
Definition: xmp_data_struct.h:20
int par_upper
Definition: xmp_data_struct.h:205
_Bool is_shrunk_template
Definition: xmp_data_struct.h:305
struct _XMP_gpu_array_type _XMP_gpu_array_t
int local_stride
Definition: xmp_data_struct.h:211
int temp0_v
Definition: xmp_data_struct.h:240
MPI_Datatype mpi_type
Definition: xmp_data_struct.h:275
_XMP_nodes_t * onto_nodes
Definition: xmp_data_struct.h:111
int desc_kind
Definition: xmp_data_struct.h:100
_XMP_comm_t * align_comm
Definition: xmp_data_struct.h:300
int coarray_dims
Definition: xmp_data_struct.h:342
int shadow_size_lo
Definition: xmp_data_struct.h:249
_XMP_template_t * align_template
Definition: xmp_data_struct.h:312
int s
Definition: xmp_data_struct.h:434
int * ref
Definition: xmp_data_struct.h:65
int nnodes
Definition: xmp_data_struct.h:461
int * kind
Definition: xmp_data_struct.h:397
int align_manner
Definition: xmp_data_struct.h:197
int u
Definition: xmp_data_struct.h:441
int stride
Definition: xmp_data_struct.h:25
Definition: xmp_data_struct.h:98
Definition: xmp_data_struct.h:63
unsigned long long total_elmts
Definition: xmp_data_struct.h:293
long start
Definition: xmp_data_struct.h:376
int blocklength
Definition: xmp_data_struct.h:140
int align_comm_rank
Definition: xmp_data_struct.h:302
_XMP_async_reflect_t * async_reflect
Definition: xmp_data_struct.h:296
int ser_lower
Definition: xmp_data_struct.h:199
struct _XMP_comm_set_type * next
Definition: xmp_data_struct.h:442
_XMP_nodes_inherit_info_t * inherit_info
Definition: xmp_data_struct.h:59
long long stride
Definition: xmp_data_struct.h:141
int desc_kind
Definition: xmp_data_struct.h:42
int hi_width
Definition: xmp_data_struct.h:125
Definition: xmp_data_struct.h:475
Definition: xmp_data_struct.h:78
#define _XMP_comm_t
Definition: xmp_data_struct.h:17
_XMP_nodes_t * nodes
Definition: xmp_data_struct.h:317
int nreqs
Definition: xmp_data_struct.h:460
long long ser_upper
Definition: xmp_data_struct.h:73
int order
Definition: xmp_data_struct.h:276
int size
Definition: xmp_data_struct.h:28
int onto_nodes_index
Definition: xmp_data_struct.h:92
int local_lower
Definition: xmp_data_struct.h:209
MPI_Request * reqs_reduce
Definition: xmp_data_struct.h:188
void * local_data
Definition: xmp_data_struct.h:393
int shadow_size_hi
Definition: xmp_data_struct.h:250
void * device_addr
Definition: xmp_data_struct.h:483
int lo_rank
Definition: xmp_data_struct.h:143
Definition: xmp_data_struct.h:480
Definition: xmp_data_struct.h:266
MPI_Request * reqs
Definition: xmp_data_struct.h:464
Definition: xmp_data_struct.h:458
int par_stride
Definition: xmp_data_struct.h:85
int ndims
Definition: xmp_data_struct.h:389
int rank
Definition: xmp_data_struct.h:35
int dist_manner
Definition: xmp_data_struct.h:87
size_t type_size
Definition: xmp_data_struct.h:274
int alloc_size
Definition: xmp_data_struct.h:212
Definition: xmp_data_struct.h:328
_XMP_array_info_t info[1]
Definition: xmp_data_struct.h:313
void * hi_recv_array
Definition: xmp_data_struct.h:138
MPI_Request req_reduce[4]
Definition: xmp_data_struct.h:132
_Bool is_global
Definition: xmp_data_struct.h:388
int gtol
Definition: xmp_data_struct.h:476
void * lo_send_array
Definition: xmp_data_struct.h:137
int * l
Definition: xmp_data_struct.h:431
int lower
Definition: xmp_data_struct.h:23
int multiplier
Definition: xmp_data_struct.h:37
struct _XMP_nodes_inherit_info_type _XMP_nodes_inherit_info_t
int c
Definition: xmp_data_struct.h:423
int ref_upper[_XMP_N_MAX_DIM]
Definition: xmp_data_struct.h:323
_XMP_array_t * a
Definition: xmp_data_struct.h:467
void * array_addr_p
Definition: xmp_data_struct.h:279
_XMP_comm_t * comm
Definition: xmp_data_struct.h:53
_XMP_nodes_t ** node
Definition: xmp_data_struct.h:465
int par_stride
Definition: xmp_data_struct.h:206
int dim
Definition: xmp_data_struct.h:272
struct _XMP_array_type _XMP_array_t
int prev_pcopy_sched_type
Definition: xmp_data_struct.h:123
long stride
Definition: xmp_data_struct.h:378
unsigned long long * acc
Definition: xmp_data_struct.h:262
struct _XMP_async_reflect_type _XMP_async_reflect_t
struct _XMP_async_comm _XMP_async_comm_t
struct _XMP_gmv_desc_type _XMP_gmv_desc_t
long * coarray_elmts
Definition: xmp_data_struct.h:345
_XMP_array_t * a_desc
Definition: xmp_data_struct.h:391
unsigned long long dim_acc
Definition: xmp_data_struct.h:242
Definition: xmp_data_struct.h:419
Definition: xmp_data_struct.h:430
int par_size
Definition: xmp_data_struct.h:207
_XMP_reflect_sched_t * reflect_sched
Definition: xmp_data_struct.h:252
unsigned long long par_width
Definition: xmp_data_struct.h:82
int reduce_is_initialized
Definition: xmp_data_struct.h:122
_XMP_nodes_t * nodes
Definition: xmp_data_struct.h:64
Definition: xmp_data_struct.h:409
long distance
Definition: xmp_data_struct.h:380
Definition: xmp_data_struct.h:375
struct _XMP_template_info_type _XMP_template_info_t
_Bool is_distributed
Definition: xmp_data_struct.h:105
int dim
Definition: xmp_data_struct.h:47
int l
Definition: xmp_data_struct.h:420
int attr
Definition: xmp_data_struct.h:49
Definition: xmp_data_struct.h:40
int async_id
Definition: xmp_data_struct.h:459
int mode
Definition: xmp_data_struct.h:450
int * temp0
Definition: xmp_data_struct.h:239
int count
Definition: xmp_data_struct.h:140
unsigned long long on_ref_id
Definition: xmp_data_struct.h:44
_Bool is_align_comm_member
Definition: xmp_data_struct.h:271
Definition: xmp_data_struct.h:449
int lwidth[_XMP_N_MAX_DIM]
Definition: xmp_data_struct.h:183
int ref_lower[_XMP_N_MAX_DIM]
Definition: xmp_data_struct.h:322
void * lo_send_buf
Definition: xmp_data_struct.h:134
#define _XMP_N_MAX_DIM
Definition: xmp_constant.h:6
int ref_stride[_XMP_N_MAX_DIM]
Definition: xmp_data_struct.h:324
void * hi_recv_buf
Definition: xmp_data_struct.h:135
struct _XMP_csd_type _XMP_csd_t
long elmts
Definition: xmp_data_struct.h:379
void * hi_send_array
Definition: xmp_data_struct.h:138
int type
Definition: xmp_data_struct.h:273
int s
Definition: xmp_data_struct.h:412
long long * mapping_array
Definition: xmp_data_struct.h:88
int execute
Definition: xmp_data_struct.h:318
_Bool is_allocated
Definition: xmp_data_struct.h:270
int lo_width
Definition: xmp_data_struct.h:125
_XMP_comm_t * shadow_comm
Definition: xmp_data_struct.h:255
Definition: xmp_data_struct.h:439
unsigned long long on_ref_id
Definition: xmp_data_struct.h:102
_Bool is_owner
Definition: xmp_data_struct.h:106
int recvbuf_size
Definition: xmp_data_struct.h:453
int par_lower
Definition: xmp_data_struct.h:204
int l
Definition: xmp_data_struct.h:440
Definition: xmp_data_struct.h:181
struct _XMP_rsd_type _XMP_rsd_t
int upper
Definition: xmp_data_struct.h:24
_Bool is_shadow_comm_member
Definition: xmp_data_struct.h:195
int image_dims
Definition: xmp_data_struct.h:354
int local_upper
Definition: xmp_data_struct.h:210
int * a_lb
Definition: xmp_data_struct.h:394