Skip to content

Commit e68f40e

Browse files
committed
Convert some constant to UInt
1 parent 02ef0d3 commit e68f40e

1 file changed

Lines changed: 117 additions & 117 deletions

File tree

src/api/mpiabi.jl

Lines changed: 117 additions & 117 deletions
Original file line numberDiff line numberDiff line change
@@ -22,131 +22,131 @@ struct MPI_Status
2222
end
2323

2424
const MPI_Op = Ptr{Cvoid}
25-
@const_ref MPI_OP_NULL MPI_Op 0x00000020
26-
@const_ref MPI_SUM MPI_Op 0x00000021
27-
@const_ref MPI_MIN MPI_Op 0x00000022
28-
@const_ref MPI_MAX MPI_Op 0x00000023
29-
@const_ref MPI_PROD MPI_Op 0x00000024
30-
@const_ref MPI_BAND MPI_Op 0x00000028
31-
@const_ref MPI_BOR MPI_Op 0x00000029
32-
@const_ref MPI_BXOR MPI_Op 0x0000002a
33-
@const_ref MPI_LAND MPI_Op 0x00000030
34-
@const_ref MPI_LOR MPI_Op 0x00000031
35-
@const_ref MPI_LXOR MPI_Op 0x00000032
36-
@const_ref MPI_MINLOC MPI_Op 0x00000038
37-
@const_ref MPI_MAXLOC MPI_Op 0x00000039
38-
@const_ref MPI_REPLACE MPI_Op 0x0000003c
39-
@const_ref MPI_NO_OP MPI_Op 0x0000003d
25+
@const_ref MPI_OP_NULL MPI_Op UInt(0x00000020)
26+
@const_ref MPI_SUM MPI_Op UInt(0x00000021)
27+
@const_ref MPI_MIN MPI_Op UInt(0x00000022)
28+
@const_ref MPI_MAX MPI_Op UInt(0x00000023)
29+
@const_ref MPI_PROD MPI_Op UInt(0x00000024)
30+
@const_ref MPI_BAND MPI_Op UInt(0x00000028)
31+
@const_ref MPI_BOR MPI_Op UInt(0x00000029)
32+
@const_ref MPI_BXOR MPI_Op UInt(0x0000002a)
33+
@const_ref MPI_LAND MPI_Op UInt(0x00000030)
34+
@const_ref MPI_LOR MPI_Op UInt(0x00000031)
35+
@const_ref MPI_LXOR MPI_Op UInt(0x00000032)
36+
@const_ref MPI_MINLOC MPI_Op UInt(0x00000038)
37+
@const_ref MPI_MAXLOC MPI_Op UInt(0x00000039)
38+
@const_ref MPI_REPLACE MPI_Op UInt(0x0000003c)
39+
@const_ref MPI_NO_OP MPI_Op UInt(0x0000003d)
4040

4141
const MPI_Comm = Ptr{Cvoid}
42-
@const_ref MPI_COMM_NULL MPI_Comm 0x00000100
43-
@const_ref MPI_COMM_WORLD MPI_Comm 0x00000101
44-
@const_ref MPI_COMM_SELF MPI_Comm 0x00000102
42+
@const_ref MPI_COMM_NULL MPI_Comm UInt(0x00000100)
43+
@const_ref MPI_COMM_WORLD MPI_Comm UInt(0x00000101)
44+
@const_ref MPI_COMM_SELF MPI_Comm UInt(0x00000102)
4545

4646
const MPI_Group = Ptr{Cvoid}
47-
@const_ref MPI_GROUP_NULL MPI_Group 0x00000108
48-
@const_ref MPI_GROUP_EMPTY MPI_Group 0x00000109
47+
@const_ref MPI_GROUP_NULL MPI_Group UInt(0x00000108)
48+
@const_ref MPI_GROUP_EMPTY MPI_Group UInt(0x00000109)
4949

5050
const MPI_Win = Ptr{Cvoid}
51-
@const_ref MPI_WIN_NULL MPI_Win 0x00000110
51+
@const_ref MPI_WIN_NULL MPI_Win UInt(0x00000110)
5252

5353
const MPI_File = Ptr{Cvoid}
54-
@const_ref MPI_FILE_NULL MPI_File 0x00000118
54+
@const_ref MPI_FILE_NULL MPI_File UInt(0x00000118)
5555

5656
const MPI_Session = Ptr{Cvoid}
57-
@const_ref MPI_SESSION_NULL MPI_Session 0x00000120
57+
@const_ref MPI_SESSION_NULL MPI_Session UInt(0x00000120)
5858

5959
const MPI_Message = Ptr{Cvoid}
60-
@const_ref MPI_MESSAGE_NULL MPI_Message 0x00000128
61-
@const_ref MPI_MESSAGE_NO_PROC MPI_Message 0x00000129
60+
@const_ref MPI_MESSAGE_NULL MPI_Message UInt(0x00000128)
61+
@const_ref MPI_MESSAGE_NO_PROC MPI_Message UInt(0x00000129)
6262

6363
const MPI_Info = Ptr{Cvoid}
64-
@const_ref MPI_INFO_NULL MPI_Info 0x00000130
65-
@const_ref MPI_INFO_ENV MPI_Info 0x00000131
64+
@const_ref MPI_INFO_NULL MPI_Info UInt(0x00000130)
65+
@const_ref MPI_INFO_ENV MPI_Info UInt(0x00000131)
6666

6767
const MPI_Errhandler = Ptr{Cvoid}
68-
@const_ref MPI_ERRHANDLER_NULL MPI_Errhandler 0x00000140
69-
@const_ref MPI_ERRORS_ARE_FATAL MPI_Errhandler 0x00000141
70-
@const_ref MPI_ERRORS_ABORT MPI_Errhandler 0x00000142
71-
@const_ref MPI_ERRORS_RETURN MPI_Errhandler 0x00000143
68+
@const_ref MPI_ERRHANDLER_NULL MPI_Errhandler UInt(0x00000140)
69+
@const_ref MPI_ERRORS_ARE_FATAL MPI_Errhandler UInt(0x00000141)
70+
@const_ref MPI_ERRORS_ABORT MPI_Errhandler UInt(0x00000142)
71+
@const_ref MPI_ERRORS_RETURN MPI_Errhandler UInt(0x00000143)
7272

7373
const MPI_Request = Ptr{Cvoid}
74-
@const_ref MPI_REQUEST_NULL MPI_Request 0x00000180
74+
@const_ref MPI_REQUEST_NULL MPI_Request UInt(0x00000180)
7575

7676
const MPI_Datatype = Ptr{Cvoid}
77-
@const_ref MPI_DATATYPE_NULL MPI_Datatype 0x00000200
78-
@const_ref MPI_AINT MPI_Datatype 0x00000201
79-
@const_ref MPI_COUNT MPI_Datatype 0x00000202
80-
@const_ref MPI_OFFSET MPI_Datatype 0x00000203
81-
@const_ref MPI_PACKED MPI_Datatype 0x00000207
82-
@const_ref MPI_SHORT MPI_Datatype 0x00000208
83-
@const_ref MPI_INT MPI_Datatype 0x00000209
84-
@const_ref MPI_LONG MPI_Datatype 0x0000020a
85-
@const_ref MPI_LONG_LONG MPI_Datatype 0x0000020b
77+
@const_ref MPI_DATATYPE_NULL MPI_Datatype UInt(0x00000200)
78+
@const_ref MPI_AINT MPI_Datatype UInt(0x00000201)
79+
@const_ref MPI_COUNT MPI_Datatype UInt(0x00000202)
80+
@const_ref MPI_OFFSET MPI_Datatype UInt(0x00000203)
81+
@const_ref MPI_PACKED MPI_Datatype UInt(0x00000207)
82+
@const_ref MPI_SHORT MPI_Datatype UInt(0x00000208)
83+
@const_ref MPI_INT MPI_Datatype UInt(0x00000209)
84+
@const_ref MPI_LONG MPI_Datatype UInt(0x0000020a)
85+
@const_ref MPI_LONG_LONG MPI_Datatype UInt(0x0000020b)
8686
const MPI_LONG_LONG_INT = MPI_LONG_LONG
87-
@const_ref MPI_UNSIGNED_SHORT MPI_Datatype 0x0000020c
88-
@const_ref MPI_UNSIGNED MPI_Datatype 0x0000020d
89-
@const_ref MPI_UNSIGNED_LONG MPI_Datatype 0x0000020e
90-
@const_ref MPI_UNSIGNED_LONG_LONG MPI_Datatype 0x0000020f
91-
@const_ref MPI_FLOAT MPI_Datatype 0x00000210
92-
@const_ref MPI_C_FLOAT_COMPLEX MPI_Datatype 0x00000212
87+
@const_ref MPI_UNSIGNED_SHORT MPI_Datatype UInt(0x0000020c)
88+
@const_ref MPI_UNSIGNED MPI_Datatype UInt(0x0000020d)
89+
@const_ref MPI_UNSIGNED_LONG MPI_Datatype UInt(0x0000020e)
90+
@const_ref MPI_UNSIGNED_LONG_LONG MPI_Datatype UInt(0x0000020f)
91+
@const_ref MPI_FLOAT MPI_Datatype UInt(0x00000210)
92+
@const_ref MPI_C_FLOAT_COMPLEX MPI_Datatype UInt(0x00000212)
9393
const MPI_C_COMPLEX = MPI_C_FLOAT_COMPLEX
94-
@const_ref MPI_CXX_FLOAT_COMPLEX MPI_Datatype 0x00000213
95-
@const_ref MPI_DOUBLE MPI_Datatype 0x00000214
96-
@const_ref MPI_C_DOUBLE_COMPLEX MPI_Datatype 0x00000216
97-
@const_ref MPI_CXX_DOUBLE_COMPLEX MPI_Datatype 0x00000217
98-
@const_ref MPI_LOGICAL MPI_Datatype 0x00000218
99-
@const_ref MPI_INTEGER MPI_Datatype 0x00000219
100-
@const_ref MPI_REAL MPI_Datatype 0x0000021a
101-
@const_ref MPI_COMPLEX MPI_Datatype 0x0000021b
102-
@const_ref MPI_DOUBLE_PRECISION MPI_Datatype 0x0000021c
103-
@const_ref MPI_DOUBLE_COMPLEX MPI_Datatype 0x0000021d
104-
@const_ref MPI_CHARACTER MPI_Datatype 0x0000021e
105-
@const_ref MPI_LONG_DOUBLE MPI_Datatype 0x00000220
106-
@const_ref MPI_C_LONG_DOUBLE_COMPLEX MPI_Datatype 0x00000224
107-
@const_ref MPI_CXX_LONG_DOUBLE_COMPLEX MPI_Datatype 0x00000225
108-
@const_ref MPI_FLOAT_INT MPI_Datatype 0x00000228
109-
@const_ref MPI_DOUBLE_INT MPI_Datatype 0x00000229
110-
@const_ref MPI_LONG_INT MPI_Datatype 0x0000022a
111-
@const_ref MPI_2INT MPI_Datatype 0x0000022b
112-
@const_ref MPI_SHORT_INT MPI_Datatype 0x0000022c
113-
@const_ref MPI_LONG_DOUBLE_INT MPI_Datatype 0x0000022d
114-
@const_ref MPI_2REAL MPI_Datatype 0x00000230
115-
@const_ref MPI_2DOUBLE_PRECISION MPI_Datatype 0x00000231
116-
@const_ref MPI_2INTEGER MPI_Datatype 0x00000232
117-
@const_ref MPI_C_BOOL MPI_Datatype 0x00000238
118-
@const_ref MPI_CXX_BOOL MPI_Datatype 0x00000239
119-
@const_ref MPI_WCHAR MPI_Datatype 0x0000023c
120-
@const_ref MPI_INT8_T MPI_Datatype 0x00000240
121-
@const_ref MPI_UINT8_T MPI_Datatype 0x00000241
122-
@const_ref MPI_CHAR MPI_Datatype 0x00000243
123-
@const_ref MPI_SIGNED_CHAR MPI_Datatype 0x00000244
124-
@const_ref MPI_UNSIGNED_CHAR MPI_Datatype 0x00000245
125-
@const_ref MPI_BYTE MPI_Datatype 0x00000247
126-
@const_ref MPI_INT16_T MPI_Datatype 0x00000248
127-
@const_ref MPI_UINT16_T MPI_Datatype 0x00000249
128-
@const_ref MPI_INT32_T MPI_Datatype 0x00000250
129-
@const_ref MPI_UINT32_T MPI_Datatype 0x00000251
130-
@const_ref MPI_INT64_T MPI_Datatype 0x00000258
131-
@const_ref MPI_UINT64_T MPI_Datatype 0x00000259
132-
@const_ref MPI_LOGICAL1 MPI_Datatype 0x000002c0
133-
@const_ref MPI_INTEGER1 MPI_Datatype 0x000002c1
134-
@const_ref MPI_LOGICAL2 MPI_Datatype 0x000002c8
135-
@const_ref MPI_INTEGER2 MPI_Datatype 0x000002c9
136-
@const_ref MPI_REAL2 MPI_Datatype 0x000002ca
137-
@const_ref MPI_LOGICAL4 MPI_Datatype 0x000002d0
138-
@const_ref MPI_INTEGER4 MPI_Datatype 0x000002d1
139-
@const_ref MPI_REAL4 MPI_Datatype 0x000002d2
140-
@const_ref MPI_COMPLEX4 MPI_Datatype 0x000002d3
141-
@const_ref MPI_LOGICAL8 MPI_Datatype 0x000002d8
142-
@const_ref MPI_INTEGER8 MPI_Datatype 0x000002d9
143-
@const_ref MPI_REAL8 MPI_Datatype 0x000002da
144-
@const_ref MPI_COMPLEX8 MPI_Datatype 0x000002db
145-
@const_ref MPI_LOGICAL16 MPI_Datatype 0x000002e0
146-
@const_ref MPI_INTEGER16 MPI_Datatype 0x000002e1
147-
@const_ref MPI_REAL16 MPI_Datatype 0x000002e2
148-
@const_ref MPI_COMPLEX16 MPI_Datatype 0x000002e3
149-
@const_ref MPI_COMPLEX32 MPI_Datatype 0x000002eb
94+
@const_ref MPI_CXX_FLOAT_COMPLEX MPI_Datatype UInt(0x00000213)
95+
@const_ref MPI_DOUBLE MPI_Datatype UInt(0x00000214)
96+
@const_ref MPI_C_DOUBLE_COMPLEX MPI_Datatype UInt(0x00000216)
97+
@const_ref MPI_CXX_DOUBLE_COMPLEX MPI_Datatype UInt(0x00000217)
98+
@const_ref MPI_LOGICAL MPI_Datatype UInt(0x00000218)
99+
@const_ref MPI_INTEGER MPI_Datatype UInt(0x00000219)
100+
@const_ref MPI_REAL MPI_Datatype UInt(0x0000021a)
101+
@const_ref MPI_COMPLEX MPI_Datatype UInt(0x0000021b)
102+
@const_ref MPI_DOUBLE_PRECISION MPI_Datatype UInt(0x0000021c)
103+
@const_ref MPI_DOUBLE_COMPLEX MPI_Datatype UInt(0x0000021d)
104+
@const_ref MPI_CHARACTER MPI_Datatype UInt(0x0000021e)
105+
@const_ref MPI_LONG_DOUBLE MPI_Datatype UInt(0x00000220)
106+
@const_ref MPI_C_LONG_DOUBLE_COMPLEX MPI_Datatype UInt(0x00000224)
107+
@const_ref MPI_CXX_LONG_DOUBLE_COMPLEX MPI_Datatype UInt(0x00000225)
108+
@const_ref MPI_FLOAT_INT MPI_Datatype UInt(0x00000228)
109+
@const_ref MPI_DOUBLE_INT MPI_Datatype UInt(0x00000229)
110+
@const_ref MPI_LONG_INT MPI_Datatype UInt(0x0000022a)
111+
@const_ref MPI_2INT MPI_Datatype UInt(0x0000022b)
112+
@const_ref MPI_SHORT_INT MPI_Datatype UInt(0x0000022c)
113+
@const_ref MPI_LONG_DOUBLE_INT MPI_Datatype UInt(0x0000022d)
114+
@const_ref MPI_2REAL MPI_Datatype UInt(0x00000230)
115+
@const_ref MPI_2DOUBLE_PRECISION MPI_Datatype UInt(0x00000231)
116+
@const_ref MPI_2INTEGER MPI_Datatype UInt(0x00000232)
117+
@const_ref MPI_C_BOOL MPI_Datatype UInt(0x00000238)
118+
@const_ref MPI_CXX_BOOL MPI_Datatype UInt(0x00000239)
119+
@const_ref MPI_WCHAR MPI_Datatype UInt(0x0000023c)
120+
@const_ref MPI_INT8_T MPI_Datatype UInt(0x00000240)
121+
@const_ref MPI_UINT8_T MPI_Datatype UInt(0x00000241)
122+
@const_ref MPI_CHAR MPI_Datatype UInt(0x00000243)
123+
@const_ref MPI_SIGNED_CHAR MPI_Datatype UInt(0x00000244)
124+
@const_ref MPI_UNSIGNED_CHAR MPI_Datatype UInt(0x00000245)
125+
@const_ref MPI_BYTE MPI_Datatype UInt(0x00000247)
126+
@const_ref MPI_INT16_T MPI_Datatype UInt(0x00000248)
127+
@const_ref MPI_UINT16_T MPI_Datatype UInt(0x00000249)
128+
@const_ref MPI_INT32_T MPI_Datatype UInt(0x00000250)
129+
@const_ref MPI_UINT32_T MPI_Datatype UInt(0x00000251)
130+
@const_ref MPI_INT64_T MPI_Datatype UInt(0x00000258)
131+
@const_ref MPI_UINT64_T MPI_Datatype UInt(0x00000259)
132+
@const_ref MPI_LOGICAL1 MPI_Datatype UInt(0x000002c0)
133+
@const_ref MPI_INTEGER1 MPI_Datatype UInt(0x000002c1)
134+
@const_ref MPI_LOGICAL2 MPI_Datatype UInt(0x000002c8)
135+
@const_ref MPI_INTEGER2 MPI_Datatype UInt(0x000002c9)
136+
@const_ref MPI_REAL2 MPI_Datatype UInt(0x000002ca)
137+
@const_ref MPI_LOGICAL4 MPI_Datatype UInt(0x000002d0)
138+
@const_ref MPI_INTEGER4 MPI_Datatype UInt(0x000002d1)
139+
@const_ref MPI_REAL4 MPI_Datatype UInt(0x000002d2)
140+
@const_ref MPI_COMPLEX4 MPI_Datatype UInt(0x000002d3)
141+
@const_ref MPI_LOGICAL8 MPI_Datatype UInt(0x000002d8)
142+
@const_ref MPI_INTEGER8 MPI_Datatype UInt(0x000002d9)
143+
@const_ref MPI_REAL8 MPI_Datatype UInt(0x000002da)
144+
@const_ref MPI_COMPLEX8 MPI_Datatype UInt(0x000002db)
145+
@const_ref MPI_LOGICAL16 MPI_Datatype UInt(0x000002e0)
146+
@const_ref MPI_INTEGER16 MPI_Datatype UInt(0x000002e1)
147+
@const_ref MPI_REAL16 MPI_Datatype UInt(0x000002e2)
148+
@const_ref MPI_COMPLEX16 MPI_Datatype UInt(0x000002e3)
149+
@const_ref MPI_COMPLEX32 MPI_Datatype UInt(0x000002eb)
150150

151151
# Fortran 1977 Status Size and Indices
152152
@const_ref MPI_F_STATUS_SIZE Cint 8
@@ -426,17 +426,17 @@ const MPI_File_errhandler_fn = MPI_File_errhandler_function
426426
const MPI_Win_errhandler_fn = MPI_Win_errhandler_function
427427
const MPI_Session_errhandler_fn = MPI_Session_errhandler_function
428428

429-
@const_ref MPI_NULL_COPY_FN Ptr{MPI_Copy_function} 0
430-
@const_ref MPI_DUP_FN Ptr{MPI_Copy_function} 1
431-
@const_ref MPI_NULL_DELETE_FN Ptr{MPI_Delete_function} 0
432-
@const_ref MPI_COMM_NULL_COPY_FN Ptr{MPI_Comm_copy_attr_function} 0
433-
@const_ref MPI_COMM_DUP_FN Ptr{MPI_Comm_copy_attr_function} 1
434-
@const_ref MPI_COMM_NULL_DELETE_FN Ptr{MPI_Comm_delete_attr_function} 0
435-
@const_ref MPI_TYPE_NULL_COPY_FN Ptr{MPI_Type_copy_attr_function} 0
436-
@const_ref MPI_TYPE_DUP_FN Ptr{MPI_Type_copy_attr_function} 1
437-
@const_ref MPI_TYPE_NULL_DELETE_FN Ptr{MPI_Type_delete_attr_function} 0
438-
@const_ref MPI_WIN_NULL_COPY_FN Ptr{MPI_Win_copy_attr_function} 0
439-
@const_ref MPI_WIN_DUP_FN Ptr{MPI_Win_copy_attr_function} 1
440-
@const_ref MPI_WIN_NULL_DELETE_FN Ptr{MPI_Win_delete_attr_function} 0
441-
@const_ref MPI_CONVERSION_FN_NULL Ptr{MPI_Datarep_conversion_function} 0
442-
@const_ref MPI_CONVERSION_FN_NULL_C Ptr{MPI_Datarep_conversion_function_c} 0
429+
@const_ref MPI_NULL_COPY_FN Ptr{MPI_Copy_function} UInt(0x0)
430+
@const_ref MPI_DUP_FN Ptr{MPI_Copy_function} UInt(0x1)
431+
@const_ref MPI_NULL_DELETE_FN Ptr{MPI_Delete_function} UInt(0x0)
432+
@const_ref MPI_COMM_NULL_COPY_FN Ptr{MPI_Comm_copy_attr_function} UInt(0x0)
433+
@const_ref MPI_COMM_DUP_FN Ptr{MPI_Comm_copy_attr_function} UInt(0x1)
434+
@const_ref MPI_COMM_NULL_DELETE_FN Ptr{MPI_Comm_delete_attr_function} UInt(0x0)
435+
@const_ref MPI_TYPE_NULL_COPY_FN Ptr{MPI_Type_copy_attr_function} UInt(0x0)
436+
@const_ref MPI_TYPE_DUP_FN Ptr{MPI_Type_copy_attr_function} UInt(0x1)
437+
@const_ref MPI_TYPE_NULL_DELETE_FN Ptr{MPI_Type_delete_attr_function} UInt(0x0)
438+
@const_ref MPI_WIN_NULL_COPY_FN Ptr{MPI_Win_copy_attr_function} UInt(0x0)
439+
@const_ref MPI_WIN_DUP_FN Ptr{MPI_Win_copy_attr_function} UInt(0x1)
440+
@const_ref MPI_WIN_NULL_DELETE_FN Ptr{MPI_Win_delete_attr_function} UInt(0x0)
441+
@const_ref MPI_CONVERSION_FN_NULL Ptr{MPI_Datarep_conversion_function} UInt(0x0)
442+
@const_ref MPI_CONVERSION_FN_NULL_C Ptr{MPI_Datarep_conversion_function_c} UInt(0x0)

0 commit comments

Comments
 (0)