My Project
Main Page
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
+
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
Variables
+
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Enumerations
+
Enumerator
a
b
c
d
f
i
l
m
n
o
p
r
s
t
u
v
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
~
+
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
Enumerations
+
Enumerator
a
c
d
f
h
l
m
n
o
r
s
t
w
+
Related Functions
a
b
c
d
h
i
l
m
n
o
p
s
v
+
Files
File List
+
File Members
+
All
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
v
+
Functions
a
c
d
e
f
g
i
m
o
p
r
s
t
v
Variables
Typedefs
Enumerations
Enumerator
+
Macros
d
g
i
l
p
t
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
include
mlir
Conversion
GPUToROCDL
GPUToROCDLPass.h
Go to the documentation of this file.
1
//===- GPUToROCDLPass.h - Convert GPU kernel to ROCDL dialect ---*- C++ -*-===//
2
//
3
// Part of the MLIR 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
#ifndef MLIR_CONVERSION_GPUTOROCDL_GPUTOROCDLPASS_H_
9
#define MLIR_CONVERSION_GPUTOROCDL_GPUTOROCDLPASS_H_
10
11
#include <memory>
12
13
namespace
mlir
{
14
15
class
ModuleOp;
16
template
<
typename
OpT>
class
OpPassBase;
17
19
std::unique_ptr<OpPassBase<ModuleOp>>
createLowerGpuOpsToROCDLOpsPass
();
20
21
}
// namespace mlir
22
23
#endif // MLIR_CONVERSION_GPUTOROCDL_GPUTOROCDLPASS_H_
mlir
Definition:
InferTypeOpInterface.cpp:20
mlir::createLowerGpuOpsToROCDLOpsPass
std::unique_ptr< OpPassBase< ModuleOp > > createLowerGpuOpsToROCDLOpsPass()
Creates a pass that lowers GPU dialect operations to ROCDL counterparts.
Definition:
LowerGpuOpsToROCDLOps.cpp:69
Generated by
1.8.13