MLIR
20.0.0git
lib
Bindings
Python
AsyncPasses.cpp
Go to the documentation of this file.
1
//===- AsyncPasses.cpp - Pybind module for the Async 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/Async.h
"
10
11
#include "
mlir/Bindings/Python/Nanobind.h
"
12
13
// -----------------------------------------------------------------------------
14
// Module initialization.
15
// -----------------------------------------------------------------------------
16
17
NB_MODULE
(_mlirAsyncPasses, m) {
18
m.doc() =
"MLIR Async Dialect Passes"
;
19
20
// Register all Async passes on load.
21
mlirRegisterAsyncPasses();
22
}
NB_MODULE
NB_MODULE(_mlirAsyncPasses, m)
Definition:
AsyncPasses.cpp:17
Nanobind.h
Async.h
Generated on Mon Dec 30 2024 12:33:53 for MLIR by
1.9.1