1//===- Tensor.cpp - C Interface for Tensor dialect ------------------------===//
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/Dialect/Tensor/IR/Tensor.h"
10#include "mlir-c/Dialect/Tensor.h"
11#include "mlir/CAPI/Registration.h"
12
13MLIR_DEFINE_CAPI_DIALECT_REGISTRATION(Tensor, tensor,
14 mlir::tensor::TensorDialect)
15

source code of mlir/lib/CAPI/Dialect/Tensor.cpp