MLIR
20.0.0git
lib
Bindings
Python
GPUPasses.cpp
Go to the documentation of this file.
1
//===- GPUPasses.cpp - Pybind module for the GPU passes ------------------===//
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
#include "
mlir-c/Dialect/GPU.h
"
10
11
#include <pybind11/detail/common.h>
12
#include <pybind11/pybind11.h>
13
14
// -----------------------------------------------------------------------------
15
// Module initialization.
16
// -----------------------------------------------------------------------------
17
18
PYBIND11_MODULE
(_mlirGPUPasses, m) {
19
m.doc() =
"MLIR GPU Dialect Passes"
;
20
21
// Register all GPU passes on load.
22
mlirRegisterGPUPasses();
23
}
PYBIND11_MODULE
PYBIND11_MODULE(_mlirGPUPasses, m)
Definition:
GPUPasses.cpp:18
GPU.h
Generated on Tue Oct 8 2024 00:39:13 for MLIR by
1.9.1