8 #ifndef MLIR_CONVERSION_SCFTOGPU_SCFTOGPUPASS_H_
9 #define MLIR_CONVERSION_SCFTOGPU_SCFTOGPUPASS_H_
21 #define GEN_PASS_DECL_CONVERTAFFINEFORTOGPU
22 #define GEN_PASS_DECL_CONVERTPARALLELLOOPTOGPU
23 #include "mlir/Conversion/Passes.h.inc"
33 std::unique_ptr<InterfacePass<FunctionOpInterface>>
Include the generated interface declarations.
std::unique_ptr< InterfacePass< FunctionOpInterface > > createAffineForToGPUPass(unsigned numBlockDims, unsigned numThreadDims)
Create a pass that converts loop nests into GPU kernels.
std::unique_ptr< Pass > createParallelLoopToGpuPass()
Creates a pass that converts scf.parallel operations into a gpu.launch operation.