xref: /llvm-project/mlir/lib/CAPI/Dialect/Tensor.cpp (revision 7dadcd02d6ce0278723c87736f6278610da0ddb2)
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 
13 MLIR_DEFINE_CAPI_DIALECT_REGISTRATION(Tensor, tensor,
14                                       mlir::tensor::TensorDialect)
15