torch-mlir/include/torch-mlir-c/Dialects.h

26 lines
904 B
C

/*===-- torch-mlir-c/Dialects.h - Dialect functions --------------*- C -*-===*\
|* *|
|* 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 *|
|* *|
\*===----------------------------------------------------------------------===*/
#ifndef TORCHMLIR_C_DIALECTS_H
#define TORCHMLIR_C_DIALECTS_H
#include "mlir-c/Registration.h"
#ifdef __cplusplus
extern "C" {
#endif
MLIR_DECLARE_CAPI_DIALECT_REGISTRATION(Torch, torch);
#ifdef __cplusplus
}
#endif
#endif // TORCHMLIR_C_DIALECTS_H