MLIR  19.0.0git
Namespaces | Macros | Functions
SCFToGPUPass.h File Reference
#include "mlir/Interfaces/FunctionInterfaces.h"
#include "mlir/Support/LLVM.h"
#include <memory>
#include "mlir/Conversion/Passes.h.inc"

Go to the source code of this file.

Namespaces

 mlir
 Include the generated interface declarations.
 

Macros

#define GEN_PASS_DECL_CONVERTAFFINEFORTOGPU
 
#define GEN_PASS_DECL_CONVERTPARALLELLOOPTOGPU
 

Functions

std::unique_ptr< InterfacePass< FunctionOpInterface > > mlir::createAffineForToGPUPass (unsigned numBlockDims, unsigned numThreadDims)
 Create a pass that converts loop nests into GPU kernels. More...
 
std::unique_ptr< InterfacePass< FunctionOpInterface > > mlir::createAffineForToGPUPass ()
 
std::unique_ptr< Passmlir::createParallelLoopToGpuPass ()
 Creates a pass that converts scf.parallel operations into a gpu.launch operation. More...
 

Macro Definition Documentation

◆ GEN_PASS_DECL_CONVERTAFFINEFORTOGPU

#define GEN_PASS_DECL_CONVERTAFFINEFORTOGPU

Definition at line 21 of file SCFToGPUPass.h.

◆ GEN_PASS_DECL_CONVERTPARALLELLOOPTOGPU

#define GEN_PASS_DECL_CONVERTPARALLELLOOPTOGPU

Definition at line 22 of file SCFToGPUPass.h.