From 17f8f96b9dbf2feae306c83643a38cc8fe0225cc Mon Sep 17 00:00:00 2001 From: Tianqi Chen Date: Fri, 23 Aug 2019 12:21:49 +0800 Subject: [PATCH] [CODE] Halide attributions (#3824) --- include/tvm/dtype.h | 1 + include/tvm/expr_operator.h | 1 + include/tvm/schedule.h | 1 + src/arithmetic/int_set.h | 1 + 4 files changed, 4 insertions(+) diff --git a/include/tvm/dtype.h b/include/tvm/dtype.h index 60a96a3..9f7902d 100644 --- a/include/tvm/dtype.h +++ b/include/tvm/dtype.h @@ -20,6 +20,7 @@ * \file tvm/dtype.h * \brief Data type used in IR. */ +// Acknowledgement: DataType structure design originates from Halide. #ifndef TVM_DTYPE_H_ #define TVM_DTYPE_H_ diff --git a/include/tvm/expr_operator.h b/include/tvm/expr_operator.h index efbe37e..b887897 100644 --- a/include/tvm/expr_operator.h +++ b/include/tvm/expr_operator.h @@ -24,6 +24,7 @@ * \note Most of the operator defined here perform simple constant folding * when the type is int32 or int64 for simplifying the index expressions. */ +// Acknowledgement: Most operator APIs originate from Halide. #ifndef TVM_EXPR_OPERATOR_H_ #define TVM_EXPR_OPERATOR_H_ diff --git a/include/tvm/schedule.h b/include/tvm/schedule.h index ac37f01..af3e929 100644 --- a/include/tvm/schedule.h +++ b/include/tvm/schedule.h @@ -21,6 +21,7 @@ * \file tvm/schedule.h * \brief Define a schedule. */ +// Acknowledgement: Many schedule primitives originate from Halide and Loopy. #ifndef TVM_SCHEDULE_H_ #define TVM_SCHEDULE_H_ diff --git a/src/arithmetic/int_set.h b/src/arithmetic/int_set.h index bf7fec2..3063618 100644 --- a/src/arithmetic/int_set.h +++ b/src/arithmetic/int_set.h @@ -32,6 +32,7 @@ namespace tvm { namespace arith { +// Acknowledgement: IntervalSet design originates from Halide. /*! * \brief Symbolic interval set. * -- 2.7.4