brintos

brintos / llvm-project-archived public Read only

0
0
Text · 789 B · 49f2ea9 Raw
23 lines · cpp
1//===- LinalgPasses.cpp - Pybind module for the Linalg 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-exception6//7//===----------------------------------------------------------------------===//8 9#include "mlir-c/Dialect/Linalg.h"10 11#include "mlir/Bindings/Python/Nanobind.h"12 13// -----------------------------------------------------------------------------14// Module initialization.15// -----------------------------------------------------------------------------16 17NB_MODULE(_mlirLinalgPasses, m) {18  m.doc() = "MLIR Linalg Dialect Passes";19 20  // Register all Linalg passes on load.21  mlirRegisterLinalgPasses();22}23