@@ -23,7 +23,8 @@ def MPI_InitOp : MPI_Op<"init", [
23
23
]> {
24
24
let summary = "Initialize the MPI library, equivalent to `MPI_Init(NULL, NULL)`";
25
25
let description = [{
26
- Passing &argc, &argv is not supported currently, also inspecting the return value is not supported.
26
+ Passing &argc, &argv is not supported currently.
27
+ Inspecting the return value (error code) is also not supported.
27
28
}];
28
29
29
30
let assemblyFormat = "attr-dict";
@@ -39,6 +40,7 @@ def MPI_CommRankOp : MPI_Op<"comm_rank", [
39
40
let summary = "Get the current rank, equivalent to `MPI_Comm_rank(MPI_COMM_WORLD, &rank)`";
40
41
let description = [{
41
42
Communicators other than `MPI_COMM_WORLD` are not supprted for now.
43
+ Inspecting the return value (error code) is also not supported.
42
44
}];
43
45
44
46
let results = (outs
@@ -59,6 +61,7 @@ def MPI_SendOp : MPI_Op<"send", [
59
61
let summary = "Equivalent to `MPI_Send(ptr, size, dtype, dest, tag, MPI_COMM_WORLD)`";
60
62
let description = [{
61
63
Communicators other than `MPI_COMM_WORLD` are not supprted for now.
64
+ Inspecting the return value (error code) is also not supported.
62
65
}];
63
66
64
67
let arguments = (ins
@@ -80,6 +83,8 @@ def MPI_RecvOp : MPI_Op<"recv", [
80
83
let summary = "Equivalent to `MPI_Recv(ptr, size, dtype, dest, tag, MPI_COMM_WORLD, MPI_STATUS_IGNORE)`";
81
84
let description = [{
82
85
Communicators other than `MPI_COMM_WORLD` are not supprted for now.
86
+ The MPI_Status is set to `MPI_STATUS_IGNORE`, as the status object is not yet ported to MLIR.
87
+ Inspecting the return value (error code) is also not supported.
83
88
}];
84
89
85
90
let arguments = (ins
@@ -100,7 +105,7 @@ def MPI_FinalizeOp : MPI_Op<"finalize", [
100
105
]> {
101
106
let summary = "Finalize the MPI library, equivalent to `MPI_Finalize()`";
102
107
let description = [{
103
-
108
+ Inspecting the return value (error code) is not supported.
104
109
}];
105
110
106
111
let assemblyFormat = "attr-dict";
0 commit comments