Enzyme main
Loading...
Searching...
No Matches
AutoDiffTypeInterface.h
Go to the documentation of this file.
1//===- AutoDiffTypeInterface.h - Type interface for auto diff ----* C++ -*-===//
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// This file defines the type interfaces necessary to implement scalable
10// automatic differentiation across an unbounded number of MLIR IR constructs.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef ENZYME_MLIR_INTERFACES_AUTODIFFTYPEINTERFACE_H
15#define ENZYME_MLIR_INTERFACES_AUTODIFFTYPEINTERFACE_H
16
17#include "mlir/IR/Attributes.h"
18#include "mlir/IR/Types.h"
19#include "mlir/IR/Value.h"
20#include "mlir/Support/LogicalResult.h"
21
22namespace mlir {
23class OpBuilder;
24}
25
26#include "MLIR/Interfaces/AutoDiffTypeInterface.h.inc"
27
28#endif // ENZYME_MLIR_INTERFACES_AUTODIFFTYPEINTERFACE_H