@@ -93,13 +93,13 @@ class MPIImplTraits {
9393 // / Different MPI implementations have different communicator types.
9494 // / Using i64 as a portable, intermediate type.
9595 // / Appropriate cast needs to take place before calling MPI functions.
96- virtual Value getCommWorld (const Location loc,
96+ virtual Value getCommWorld (Location loc,
9797 ConversionPatternRewriter &rewriter) = 0;
9898
9999 // / Type converter provides i64 type for communicator type.
100100 // / Converts to native type, which might be ptr or int or whatever.
101- virtual Value castComm (const Location loc,
102- ConversionPatternRewriter &rewriter, Value comm) = 0;
101+ virtual Value castComm (Location loc, ConversionPatternRewriter &rewriter ,
102+ Value comm) = 0;
103103
104104 // / Get the MPI_STATUS_IGNORE value (typically a pointer type).
105105 virtual intptr_t getStatusIgnore () = 0;
@@ -109,13 +109,12 @@ class MPIImplTraits {
109109
110110 // / Gets or creates an MPI datatype as a value which corresponds to the given
111111 // / type.
112- virtual Value getDataType (const Location loc,
113- ConversionPatternRewriter &rewriter, Type type) = 0;
112+ virtual Value getDataType (Location loc, ConversionPatternRewriter &rewriter ,
113+ Type type) = 0;
114114
115115 // / Gets or creates an MPI_Op value which corresponds to the given
116116 // / enum value.
117- virtual Value getMPIOp (const Location loc,
118- ConversionPatternRewriter &rewriter,
117+ virtual Value getMPIOp (Location loc, ConversionPatternRewriter &rewriter,
119118 mpi::MPI_ReductionOpEnum opAttr) = 0;
120119};
121120
0 commit comments