13 #ifndef MLIR_CONVERSION_GPUTOSPIRV_GPUTOSPIRVPASS_H
14 #define MLIR_CONVERSION_GPUTOSPIRV_GPUTOSPIRVPASS_H
24 #define GEN_PASS_DECL_CONVERTGPUTOSPIRV
25 #include "mlir/Conversion/Passes.h.inc"
31 std::unique_ptr<OperationPass<ModuleOp>>
Include the generated interface declarations.
std::unique_ptr< OperationPass< ModuleOp > > createConvertGPUToSPIRVPass(bool mapMemorySpace=true)
Creates a pass to convert GPU kernel ops to corresponding SPIR-V ops.