|
MLIR 22.0.0git
|
Pattern to convert a gpu.all_reduce op into a SPIR-V group op. More...
Public Member Functions | |
| LogicalResult | matchAndRewrite (gpu::AllReduceOp op, OpAdaptor adaptor, ConversionPatternRewriter &rewriter) const override |
Pattern to convert a gpu.all_reduce op into a SPIR-V group op.
Definition at line 653 of file GPUToSPIRV.cpp.
|
inlineoverride |
Definition at line 659 of file GPUToSPIRV.cpp.
References createGroupReduceOp(), result, and success().