2021-09-11 02:44:38 +08:00
|
|
|
//===- Dialects.cpp - C Interface for Dialects ----------------------------===//
|
2020-07-03 04:56:27 +08:00
|
|
|
//
|
|
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
2021-09-30 00:03:40 +08:00
|
|
|
// Also available under a BSD-style license. See LICENSE.
|
2020-07-03 04:56:27 +08:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2021-09-11 02:44:38 +08:00
|
|
|
#include "torch-mlir-c/Dialects.h"
|
2020-07-03 04:56:27 +08:00
|
|
|
|
2021-09-11 02:44:38 +08:00
|
|
|
#include "mlir/CAPI/Registration.h"
|
2024-01-30 01:59:33 +08:00
|
|
|
#include "torch-mlir/Dialect/Torch/IR/TorchDialect.h"
|
2020-07-03 04:56:27 +08:00
|
|
|
|
2024-01-30 01:59:33 +08:00
|
|
|
MLIR_DEFINE_CAPI_DIALECT_REGISTRATION(Torch, torch,
|
|
|
|
mlir::torch::Torch::TorchDialect)
|