@@ -175,7 +175,7 @@ def MPI_ISendOp : MPI_Op<"isend", []> {
175
175
let arguments = (
176
176
ins AnyMemRef : $ref,
177
177
I32 : $tag,
178
- I32 : $rank ,
178
+ I32 : $dest ,
179
179
MPI_Comm : $comm
180
180
);
181
181
@@ -184,8 +184,8 @@ def MPI_ISendOp : MPI_Op<"isend", []> {
184
184
MPI_Request : $req
185
185
);
186
186
187
- let assemblyFormat = "`(` $ref `,` $tag `,` $rank `,` $comm`)` attr-dict "
188
- "`:` type($ref) `,` type($tag) `,` type($rank ) "
187
+ let assemblyFormat = "`(` $ref `,` $tag `,` $dest `,` $comm`)` attr-dict "
188
+ "`:` type($ref) `,` type($tag) `,` type($dest ) "
189
189
"`->` type(results)";
190
190
let hasCanonicalizer = 1;
191
191
}
@@ -229,11 +229,11 @@ def MPI_RecvOp : MPI_Op<"recv", []> {
229
229
//===----------------------------------------------------------------------===//
230
230
231
231
def MPI_IRecvOp : MPI_Op<"irecv", []> {
232
- let summary = "Equivalent to `MPI_Irecv(ptr, size, dtype, dest , tag, "
232
+ let summary = "Equivalent to `MPI_Irecv(ptr, size, dtype, source , tag, "
233
233
"comm, &req)`";
234
234
let description = [{
235
235
MPI_Irecv begins a non-blocking receive of `size` elements of type `dtype`
236
- from rank `dest `. The `tag` value and communicator enables the library to
236
+ from rank `source `. The `tag` value and communicator enables the library to
237
237
determine the matching of multiple sends and receives between the same
238
238
ranks.
239
239
@@ -244,7 +244,7 @@ def MPI_IRecvOp : MPI_Op<"irecv", []> {
244
244
let arguments = (
245
245
ins AnyMemRef : $ref,
246
246
I32 : $tag,
247
- I32 : $rank ,
247
+ I32 : $source ,
248
248
MPI_Comm : $comm
249
249
);
250
250
@@ -253,8 +253,8 @@ def MPI_IRecvOp : MPI_Op<"irecv", []> {
253
253
MPI_Request : $req
254
254
);
255
255
256
- let assemblyFormat = "`(` $ref `,` $tag `,` $rank `,` $comm`)` attr-dict "
257
- "`:` type($ref) `,` type($tag) `,` type($rank )"
256
+ let assemblyFormat = "`(` $ref `,` $tag `,` $source `,` $comm`)` attr-dict "
257
+ "`:` type($ref) `,` type($tag) `,` type($source )"
258
258
"`->` type(results)";
259
259
let hasCanonicalizer = 1;
260
260
}
@@ -281,7 +281,7 @@ def MPI_AllReduceOp : MPI_Op<"allreduce", []> {
281
281
let arguments = (
282
282
ins AnyMemRef : $sendbuf,
283
283
AnyMemRef : $recvbuf,
284
- MPI_OpClassAttr : $op,
284
+ MPI_OpClassEnum : $op,
285
285
MPI_Comm : $comm
286
286
);
287
287
0 commit comments