@@ -1070,7 +1070,7 @@ def MPICommRankOp : EnzymeXLA_Op<"mpi.comm_rank", []> {
10701070 let assemblyFormat = "attr-dict `:` type(results)";
10711071}
10721072
1073- def MPICommSizeOp : EnzymeXLA_Op<"comm_size", []> {
1073+ def MPICommSizeOp : EnzymeXLA_Op<"mpi. comm_size", []> {
10741074 let summary = "Equivalent to MPI_Comm_size(MPI_COMM_WORLD, &size)";
10751075
10761076 let arguments = (
@@ -1084,13 +1084,12 @@ def MPICommSizeOp : EnzymeXLA_Op<"comm_size", []> {
10841084 let assemblyFormat = "`(` operands `)` attr-dict `:` functional-type(operands, results)";
10851085}
10861086
1087- // We call it "mpi_barrier" to not collide with BarrierOp above
1088- def MPIBarrierOp : EnzymeXLA_Op<"mpi_barrier", []> {
1087+ def MPIBarrierOp : EnzymeXLA_Op<"mpi.barrier", []> {
10891088 let summary = "Equivalent to MPI_Barrier(MPI_COMM_WORLD)";
10901089 let assemblyFormat = "attr-dict";
10911090}
10921091
1093- def MPISendOp : EnzymeXLA_Op<"send", []> {
1092+ def MPISendOp : EnzymeXLA_Op<"mpi. send", []> {
10941093 let summary = "Equivalent to "
10951094 "`MPI_Send(&buf, count, datatype, dest, tag, comm)`";
10961095
@@ -1105,7 +1104,7 @@ def MPISendOp : EnzymeXLA_Op<"send", []> {
11051104 let assemblyFormat = "`(` operands `)` attr-dict `:` type(operands)";
11061105}
11071106
1108- def MPIRecvOp : EnzymeXLA_Op<"recv", []> {
1107+ def MPIRecvOp : EnzymeXLA_Op<"mpi. recv", []> {
11091108 let summary = "Equivalent to "
11101109 "`MPI_Recv(&buf, count, datatype, source, tag, MPI_COMM_WORLD, MPI_STATUS_IGNORE)`";
11111110
@@ -1124,7 +1123,7 @@ def MPIRecvOp : EnzymeXLA_Op<"recv", []> {
11241123 let assemblyFormat = "`(` operands `)` attr-dict `:` functional-type(operands, results)";
11251124}
11261125
1127- def MPIIsendOp : EnzymeXLA_Op<"isend", []> {
1126+ def MPIIsendOp : EnzymeXLA_Op<"mpi. isend", []> {
11281127 let summary = "Equivalent to "
11291128 "`MPI_Isend(&buf, count, datatype, dest, tag, MPI_COMM_WORLD, &request)`";
11301129
@@ -1144,7 +1143,7 @@ def MPIIsendOp : EnzymeXLA_Op<"isend", []> {
11441143 let assemblyFormat = "`(` operands `)` attr-dict `:` functional-type(operands, results)";
11451144}
11461145
1147- def MPIIrecvOp : EnzymeXLA_Op<"irecv", []> {
1146+ def MPIIrecvOp : EnzymeXLA_Op<"mpi. irecv", []> {
11481147 let summary = "Equivalent to "
11491148 "`MPI_Irecv(&buf, count, datatype, source, tag, MPI_COMM_WORLD, &request)`";
11501149
@@ -1165,14 +1164,14 @@ def MPIIrecvOp : EnzymeXLA_Op<"irecv", []> {
11651164 let assemblyFormat = "`(` operands `)` attr-dict `:` functional-type(operands, results)";
11661165}
11671166
1168- def MPIWaitOp : EnzymeXLA_Op<"wait", []> {
1167+ def MPIWaitOp : EnzymeXLA_Op<"mpi. wait", []> {
11691168 let summary = "Equivalent to "
11701169 "`MPI_Wait(&request, &status)`";
11711170 let arguments = (ins TensorOf<[I64]> : $inrequest);
11721171 let assemblyFormat = "`(` operands `)` attr-dict `:` type(operands)";
11731172}
11741173
1175- def MPIAllreduceOp : EnzymeXLA_Op<"allreduce", []> {
1174+ def MPIAllreduceOp : EnzymeXLA_Op<"mpi. allreduce", []> {
11761175 let summary = "Equivalent to "
11771176 "`MPI_Allreduce(&sendbuf, &recvbuf, count, datatype, op, MPI_COMM_WORLD)`";
11781177
0 commit comments