MLIR 22.0.0git
GPUToSPIRVPass.h File Reference
#include <memory>
#include "mlir/Conversion/Passes.h.inc"

Go to the source code of this file.

Classes

struct  mlir::ConvertGPUToSPIRVOptions

Namespaces

namespace  mlir
 Include the generated interface declarations.

Macros

#define GEN_PASS_DECL_CONVERTGPUTOSPIRV

Functions

std::unique_ptr< OperationPass< ModuleOp > > mlir::createConvertGPUToSPIRVPass (bool mapMemorySpace=true)
 Creates a pass to convert GPU kernel ops to corresponding SPIR-V ops.

Macro Definition Documentation

◆ GEN_PASS_DECL_CONVERTGPUTOSPIRV

#define GEN_PASS_DECL_CONVERTGPUTOSPIRV

Definition at line 24 of file GPUToSPIRVPass.h.