MLIR  20.0.0git
Namespaces | Macros | Functions
GPUToROCDLPass.h File Reference
#include "mlir/Conversion/GPUToROCDL/Runtimes.h"
#include "mlir/Conversion/LLVMCommon/LoweringOptions.h"
#include <memory>
#include "mlir/Conversion/Passes.h.inc"

Go to the source code of this file.

Namespaces

 mlir
 Include the generated interface declarations.
 
 mlir::gpu
 

Macros

#define GEN_PASS_DECL_CONVERTGPUOPSTOROCDLOPS
 

Functions

void mlir::populateGpuToROCDLConversionPatterns (const LLVMTypeConverter &converter, RewritePatternSet &patterns, gpu::amd::Runtime runtime)
 Collect a set of patterns to convert from the GPU dialect to ROCDL. More...
 
void mlir::configureGpuToROCDLConversionLegality (ConversionTarget &target)
 Configure target to convert from the GPU dialect to ROCDL. More...
 
std::unique_ptr< OperationPass< gpu::GPUModuleOp > > mlir::createLowerGpuOpsToROCDLOpsPass (const std::string &chipset="gfx900", unsigned indexBitwidth=kDeriveIndexBitwidthFromDataLayout, bool useBarePtrCallConv=false, gpu::amd::Runtime runtime=gpu::amd::Runtime::Unknown)
 Creates a pass that lowers GPU dialect operations to ROCDL counterparts. More...
 

Macro Definition Documentation

◆ GEN_PASS_DECL_CONVERTGPUOPSTOROCDLOPS

#define GEN_PASS_DECL_CONVERTGPUOPSTOROCDLOPS

Definition at line 27 of file GPUToROCDLPass.h.