libxmp/libxmpf in Omni Compiler
1.3.4
xmp_constant.h
Go to the documentation of this file.
1
#ifndef _XMP_CONSTANT
2
#define _XMP_CONSTANT
3
4
#define _XMP_N_INT_TRUE 1
5
#define _XMP_N_INT_FALSE 0
6
#define _XMP_N_MAX_DIM 7
7
#define _XMP_N_MAX_LOC_VAR 16
8
9
// constants for mpi tag
10
#define _XMP_N_MPI_TAG_GMOVE 10
11
#define _XMP_N_MPI_TAG_REFLECT_LO 11
12
#define _XMP_N_MPI_TAG_REFLECT_HI 12
13
#define _XMP_N_MPI_TAG_POSTREQ 13
14
#define _XMP_N_MPI_TAG_SYNCREQ 14
15
16
// used by task
17
#define _XMP_N_NODES_REF 20
18
#define _XMP_N_TEMPLATE_REF 21
19
20
// constants used in runtime functions
21
#define _XMP_N_INVALID_RANK -1
22
#define _XMP_N_UNSPECIFIED_RANK -2
23
#define _XMP_N_NO_ALIGN_TEMPLATE -1
24
#define _XMP_N_NO_ONTO_NODES -1
25
#define _XMP_N_DEFAULT_ROOT_RANK 0
26
27
// defined in exc.xcalablemp.XMPtemplate
28
#define _XMP_N_DIST_DUPLICATION 100
29
#define _XMP_N_DIST_BLOCK 101
30
#define _XMP_N_DIST_CYCLIC 102
31
#define _XMP_N_DIST_BLOCK_CYCLIC 103
32
#define _XMP_N_DIST_GBLOCK 104
33
34
// FIXME defined in exc.xcalablemp.XMP???
35
#define _XMP_N_ALIGN_NOT_ALIGNED 200
36
#define _XMP_N_ALIGN_DUPLICATION 201
37
#define _XMP_N_ALIGN_BLOCK 202
38
#define _XMP_N_ALIGN_CYCLIC 203
39
#define _XMP_N_ALIGN_BLOCK_CYCLIC 204
40
#define _XMP_N_ALIGN_GBLOCK 205
41
42
// defined in exc.xcalablemp.XMPcollective
43
#define _XMP_N_REDUCE_SUM 300
44
#define _XMP_N_REDUCE_PROD 301
45
#define _XMP_N_REDUCE_BAND 302
46
#define _XMP_N_REDUCE_LAND 303
47
#define _XMP_N_REDUCE_BOR 304
48
#define _XMP_N_REDUCE_LOR 305
49
#define _XMP_N_REDUCE_BXOR 306
50
#define _XMP_N_REDUCE_LXOR 307
51
#define _XMP_N_REDUCE_MAX 308
52
#define _XMP_N_REDUCE_MIN 309
53
#define _XMP_N_REDUCE_FIRSTMAX 310
54
#define _XMP_N_REDUCE_FIRSTMIN 311
55
#define _XMP_N_REDUCE_LASTMAX 312
56
#define _XMP_N_REDUCE_LASTMIN 313
57
#define _XMP_N_REDUCE_EQV 314
58
#define _XMP_N_REDUCE_NEQV 315
59
#define _XMP_N_REDUCE_MINUS 316
60
#define _XMP_N_REDUCE_MAXLOC 317
61
#define _XMP_N_REDUCE_MINLOC 318
62
63
// defined in exc.xcalablemp.XMPshadow
64
#define _XMP_N_SHADOW_NONE 400
65
#define _XMP_N_SHADOW_NORMAL 401
66
#define _XMP_N_SHADOW_FULL 402
67
68
// defined in exc.xcalablemp.XMPcollective
69
#define _XMP_N_GMOVE_NORMAL 400
70
#define _XMP_N_GMOVE_IN 401
71
#define _XMP_N_GMOVE_OUT 402
72
73
// defined in exc.xcalablemp.XMP???
74
#define _XMP_LOOP_EXPAND 410
75
#define _XMP_LOOP_MARGIN 411
76
#define _XMP_LOOP_PEEL_AND_WAIT 412
77
#define _XMP_LOOP_NONE 413
78
79
// defined in exc.object.BasicType + 500
80
#define _XMP_N_TYPE_BOOL 502
81
#define _XMP_N_TYPE_CHAR 503
82
#define _XMP_N_TYPE_UNSIGNED_CHAR 504
83
#define _XMP_N_TYPE_SHORT 505
84
#define _XMP_N_TYPE_UNSIGNED_SHORT 506
85
#define _XMP_N_TYPE_INT 507
86
#define _XMP_N_TYPE_UNSIGNED_INT 508
87
#define _XMP_N_TYPE_LONG 509
88
#define _XMP_N_TYPE_UNSIGNED_LONG 510
89
#define _XMP_N_TYPE_LONGLONG 511
90
#define _XMP_N_TYPE_UNSIGNED_LONGLONG 512
91
#define _XMP_N_TYPE_FLOAT 513
92
#define _XMP_N_TYPE_DOUBLE 514
93
#define _XMP_N_TYPE_LONG_DOUBLE 515
94
95
#ifdef __STD_IEC_559_COMPLEX__
96
#define _XMP_N_TYPE_FLOAT_IMAGINARY 516
97
#define _XMP_N_TYPE_DOUBLE_IMAGINARY 517
98
#define _XMP_N_TYPE_LONG_DOUBLE_IMAGINARY 518
99
#endif
100
101
#define _XMP_N_TYPE_FLOAT_COMPLEX 519
102
#define _XMP_N_TYPE_DOUBLE_COMPLEX 520
103
#define _XMP_N_TYPE_LONG_DOUBLE_COMPLEX 521
104
#define _XMP_N_TYPE_NONBASIC 599
105
106
// defined in exc.xcalablemp.XMPgpuData
107
#define _XMP_N_GPUSYNC_IN 600
108
#define _XMP_N_GPUSYNC_OUT 601
109
110
// defined in exc.xcalablemp.XMP
111
#define _XMP_N_COARRAY_GET 700
112
#define _XMP_N_COARRAY_PUT 701
113
114
/*
115
* defined in F-FrontEnd/src/C-XMP.h
116
*/
117
#define _XMP_GLOBAL_IO_DIRECT 800
118
#define _XMP_GLOBAL_IO_ATOMIC 801
119
#define _XMP_GLOBAL_IO_COLLECTIVE 802
120
121
#define _XMP_ENTIRE_NODES 2000
122
#define _XMP_EXECUTING_NODES 2001
123
#define _XMP_PRIMARY_NODES 2002
124
#define _XMP_EQUIVALENCE_NODES 2003
125
126
// defined in exc.xmpF.XMPtransPragma
127
#define XMP_N_GMOVE_ALL 0
128
#define XMP_N_GMOVE_INDEX 1
129
#define XMP_N_GMOVE_RANGE 2
130
131
#define _XMP_DESC_NODES 2200
132
#define _XMP_DESC_TEMPLATE 2201
133
#define _XMP_DESC_ARRAY 2202
134
135
#define _XMP_COMM_NONE 3000
136
#define _XMP_COMM_REFLECT 3001
137
#define _XMP_COMM_REDUCE_SHADOW 3002
138
#define _XMP_COMM_GMOVE 3003
139
140
#endif // _XMP_CONSTANT
libxmp
include
xmp_constant.h
Generated on Tue Nov 22 2022 23:55:55 for libxmp/libxmpf in Omni Compiler by
1.8.17