MLIR
20.0.0git
include
mlir
Conversion
GPUToVulkan
ConvertGPUToVulkanPass.h
Go to the documentation of this file.
1
//===- ConvertGPUToVulkanPass.h - GPU to Vulkan conversion pass -*- C++ -*-===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
//
9
// The file declares a pass to convert GPU dialect ops to to Vulkan runtime
10
// calls.
11
//
12
//===----------------------------------------------------------------------===//
13
14
#ifndef MLIR_CONVERSION_GPUTOVULKAN_CONVERTGPUTOVULKANPASS_H
15
#define MLIR_CONVERSION_GPUTOVULKAN_CONVERTGPUTOVULKANPASS_H
16
17
#include "
mlir/Support/LLVM.h
"
18
19
#include <memory>
20
21
namespace
mlir
{
22
23
class
ModuleOp;
24
template
<
typename
T>
25
class
OperationPass;
26
class
Pass;
27
28
#define GEN_PASS_DECL_CONVERTVULKANLAUNCHFUNCTOVULKANCALLSPASS
29
#define GEN_PASS_DECL_CONVERTGPULAUNCHFUNCTOVULKANLAUNCHFUNC
30
#include "mlir/Conversion/Passes.h.inc"
31
32
std::unique_ptr<OperationPass<mlir::ModuleOp>>
33
createConvertGpuLaunchFuncToVulkanLaunchFuncPass
();
34
35
}
// namespace mlir
36
#endif
// MLIR_CONVERSION_GPUTOVULKAN_CONVERTGPUTOVULKANPASS_H
LLVM.h
mlir
Include the generated interface declarations.
Definition:
LocalAliasAnalysis.h:20
mlir::createConvertGpuLaunchFuncToVulkanLaunchFuncPass
std::unique_ptr< OperationPass< mlir::ModuleOp > > createConvertGpuLaunchFuncToVulkanLaunchFuncPass()
Definition:
ConvertGPULaunchFuncToVulkanLaunchFunc.cpp:209
Generated on Sun Dec 22 2024 00:42:53 for MLIR by
1.9.1