Commit b95b5958 by MORITA Kazutaka Committed by Tianqi Chen

Remove leading "./" from include paths (#1640)

parent cfafd212
......@@ -7,9 +7,9 @@
#ifndef TVM_API_REGISTRY_H_
#define TVM_API_REGISTRY_H_
#include "./base.h"
#include "./packed_func_ext.h"
#include "./runtime/registry.h"
#include "base.h"
#include "packed_func_ext.h"
#include "runtime/registry.h"
/*!
* \brief Register an API function globally.
......
......@@ -9,7 +9,7 @@
#include <vector>
#include <unordered_map>
#include <memory>
#include "./expr.h"
#include "expr.h"
namespace tvm {
......
......@@ -31,9 +31,9 @@
#include <vector>
#include <type_traits>
#include <string>
#include "./ir.h"
#include "./base.h"
#include "./packed_func_ext.h"
#include "ir.h"
#include "base.h"
#include "packed_func_ext.h"
namespace tvm {
/*!
......
......@@ -12,7 +12,7 @@
#include <string>
#include <memory>
#include <functional>
#include "./runtime/registry.h"
#include "runtime/registry.h"
namespace tvm {
......
......@@ -9,8 +9,8 @@
#include <tvm/container.h>
#include <string>
#include "./base.h"
#include "./expr.h"
#include "base.h"
#include "expr.h"
namespace tvm {
......
......@@ -9,9 +9,9 @@
#include <string>
#include <vector>
#include <utility>
#include "./runtime/packed_func.h"
#include "./schedule_pass.h"
#include "./lowered_func.h"
#include "runtime/packed_func.h"
#include "schedule_pass.h"
#include "lowered_func.h"
namespace tvm {
using namespace tvm::runtime;
......
......@@ -14,7 +14,7 @@
#ifndef TVM_C_DSL_API_H_
#define TVM_C_DSL_API_H_
#include "./runtime/c_runtime_api.h"
#include "runtime/c_runtime_api.h"
#ifdef __cplusplus
extern "C" {
......
......@@ -7,11 +7,11 @@
#define TVM_CODEGEN_H_
#include <string>
#include "./base.h"
#include "./expr.h"
#include "./lowered_func.h"
#include "./api_registry.h"
#include "./runtime/packed_func.h"
#include "base.h"
#include "expr.h"
#include "lowered_func.h"
#include "api_registry.h"
#include "runtime/packed_func.h"
namespace tvm {
/*! \brief namespace for lowlevel IR pass and codegen */
......
......@@ -11,8 +11,8 @@
#include <ir/IRPrinter.h>
#include <string>
#include <algorithm>
#include "./base.h"
#include "./runtime/c_runtime_api.h"
#include "base.h"
#include "runtime/c_runtime_api.h"
namespace tvm {
......
......@@ -10,9 +10,9 @@
#include <ir/IR.h>
#include <type_traits>
#include <string>
#include "./base.h"
#include "./expr.h"
#include "./runtime/util.h"
#include "base.h"
#include "expr.h"
#include "runtime/util.h"
namespace tvm {
namespace ir {
......
......@@ -7,7 +7,7 @@
#define TVM_IR_FUNCTOR_EXT_H_
#include <tvm/ir_functor.h>
#include "./ir.h"
#include "ir.h"
namespace tvm {
namespace ir {
......
......@@ -8,8 +8,8 @@
#include <tvm/ir_functor.h>
#include <unordered_map>
#include "./expr.h"
#include "./ir.h"
#include "expr.h"
#include "ir.h"
namespace tvm {
namespace ir {
......
......@@ -7,8 +7,8 @@
#define TVM_IR_OPERATOR_H_
#include <algorithm>
#include "./expr.h"
#include "./ir.h"
#include "expr.h"
#include "ir.h"
namespace tvm {
......
......@@ -14,10 +14,10 @@
#include <unordered_map>
#include <vector>
#include <string>
#include "./expr.h"
#include "./buffer.h"
#include "./schedule.h"
#include "./lowered_func.h"
#include "expr.h"
#include "buffer.h"
#include "schedule.h"
#include "lowered_func.h"
namespace tvm {
namespace ir {
......
......@@ -7,7 +7,7 @@
#define TVM_IR_VISITOR_H_
#include <tvm/ir_functor.h>
#include "./ir.h"
#include "ir.h"
namespace tvm {
namespace ir {
......
......@@ -11,9 +11,9 @@
#include <ir/FunctionBase.h>
#include <string>
#include "./base.h"
#include "./expr.h"
#include "./tensor.h"
#include "base.h"
#include "expr.h"
#include "tensor.h"
namespace tvm {
......
......@@ -9,12 +9,12 @@
#include <string>
#include <vector>
#include <unordered_map>
#include "./expr.h"
#include "./ir_operator.h"
#include "./tensor.h"
#include "./schedule.h"
#include "./arithmetic.h"
#include "./buffer.h"
#include "expr.h"
#include "ir_operator.h"
#include "tensor.h"
#include "schedule.h"
#include "arithmetic.h"
#include "buffer.h"
namespace tvm {
......
......@@ -12,10 +12,10 @@
#include <memory>
#include <type_traits>
#include "./base.h"
#include "./expr.h"
#include "./tensor.h"
#include "./runtime/packed_func.h"
#include "base.h"
#include "expr.h"
#include "tensor.h"
#include "runtime/packed_func.h"
namespace tvm {
using runtime::TVMArgs;
......
......@@ -10,7 +10,7 @@
#ifndef TVM_RUNTIME_C_BACKEND_API_H_
#define TVM_RUNTIME_C_BACKEND_API_H_
#include "./c_runtime_api.h"
#include "c_runtime_api.h"
#ifdef __cplusplus
extern "C" {
......
......@@ -7,8 +7,8 @@
#define TVM_RUNTIME_DEVICE_API_H_
#include <string>
#include "./packed_func.h"
#include "./c_runtime_api.h"
#include "packed_func.h"
#include "c_runtime_api.h"
namespace tvm {
namespace runtime {
......
......@@ -13,7 +13,7 @@
#include <vector>
#include <string>
#include <unordered_map>
#include "./c_runtime_api.h"
#include "c_runtime_api.h"
namespace tvm {
namespace runtime {
......@@ -173,5 +173,5 @@ inline const ModuleNode* Module::operator->() const {
} // namespace runtime
} // namespace tvm
#include "./packed_func.h"
#include "packed_func.h"
#endif // TVM_RUNTIME_MODULE_H_
......@@ -9,8 +9,8 @@
#include <atomic>
#include <vector>
#include <utility>
#include "./c_runtime_api.h"
#include "./serializer.h"
#include "c_runtime_api.h"
#include "serializer.h"
namespace tvm {
namespace runtime {
......
......@@ -14,9 +14,9 @@
#include <limits>
#include <memory>
#include <type_traits>
#include "./c_runtime_api.h"
#include "./module.h"
#include "./ndarray.h"
#include "c_runtime_api.h"
#include "module.h"
#include "ndarray.h"
namespace HalideIR {
// Forward declare type for extensions
......
......@@ -27,7 +27,7 @@
#include <string>
#include <vector>
#include "./packed_func.h"
#include "packed_func.h"
namespace tvm {
namespace runtime {
......
......@@ -9,8 +9,8 @@
#include <dmlc/io.h>
#include <dmlc/serializer.h>
#include "./c_runtime_api.h"
#include "./ndarray.h"
#include "c_runtime_api.h"
#include "ndarray.h"
namespace dmlc {
namespace serializer {
......
......@@ -6,7 +6,7 @@
#ifndef TVM_RUNTIME_UTIL_H_
#define TVM_RUNTIME_UTIL_H_
#include "./c_runtime_api.h"
#include "c_runtime_api.h"
namespace tvm {
namespace runtime {
......
......@@ -7,10 +7,10 @@
#define TVM_SCHEDULE_H_
#include <string>
#include "./base.h"
#include "./expr.h"
#include "./tensor.h"
#include "./tensor_intrin.h"
#include "base.h"
#include "expr.h"
#include "tensor.h"
#include "tensor_intrin.h"
namespace tvm {
......
......@@ -10,8 +10,8 @@
#ifndef TVM_SCHEDULE_PASS_H_
#define TVM_SCHEDULE_PASS_H_
#include "./base.h"
#include "./schedule.h"
#include "base.h"
#include "schedule.h"
namespace tvm {
namespace schedule {
......
......@@ -7,8 +7,8 @@
#define TVM_TARGET_INFO_H_
#include <string>
#include "./base.h"
#include "./expr.h"
#include "base.h"
#include "expr.h"
namespace tvm {
......
......@@ -12,9 +12,9 @@
#include <vector>
#include <type_traits>
#include "./base.h"
#include "./expr.h"
#include "./arithmetic.h"
#include "base.h"
#include "expr.h"
#include "arithmetic.h"
namespace tvm {
......
......@@ -7,8 +7,8 @@
#define TVM_TENSOR_INTRIN_H_
#include <string>
#include "./tensor.h"
#include "./buffer.h"
#include "tensor.h"
#include "buffer.h"
namespace tvm {
......
......@@ -6,11 +6,11 @@
#ifndef TVM_TVM_H_
#define TVM_TVM_H_
#include "./base.h"
#include "./expr.h"
#include "./ir_operator.h"
#include "./tensor.h"
#include "./operation.h"
#include "./packed_func_ext.h"
#include "base.h"
#include "expr.h"
#include "ir_operator.h"
#include "tensor.h"
#include "operation.h"
#include "packed_func_ext.h"
#endif // TVM_TVM_H_
......@@ -12,9 +12,9 @@
#include <algorithm>
#include <unordered_map>
#include <unordered_set>
#include "./base.h"
#include "./node.h"
#include "./symbolic.h"
#include "base.h"
#include "node.h"
#include "symbolic.h"
namespace nnvm {
......
......@@ -8,8 +8,8 @@
#include <vector>
#include <string>
#include "./tuple.h"
#include "./layout.h"
#include "tuple.h"
#include "layout.h"
namespace nnvm {
......
......@@ -10,9 +10,9 @@
#include <string>
#include <vector>
#include <unordered_map>
#include "./base.h"
#include "./op.h"
#include "./c_api.h"
#include "base.h"
#include "op.h"
#include "c_api.h"
namespace nnvm {
......
......@@ -13,8 +13,8 @@
#include <typeinfo>
#include <limits>
#include <functional>
#include "./base.h"
#include "./c_api.h"
#include "base.h"
#include "c_api.h"
namespace nnvm {
......
......@@ -10,10 +10,10 @@
#include <string>
#include <utility>
#include <functional>
#include "./base.h"
#include "./node.h"
#include "./tuple.h"
#include "./layout.h"
#include "base.h"
#include "node.h"
#include "tuple.h"
#include "layout.h"
namespace nnvm {
......
......@@ -8,8 +8,8 @@
#include <vector>
#include <functional>
#include "./base.h"
#include "./graph.h"
#include "base.h"
#include "graph.h"
namespace nnvm {
......
......@@ -13,9 +13,9 @@
#include <string>
#include <memory>
#include <vector>
#include "./base.h"
#include "./pass.h"
#include "./graph_attr_types.h"
#include "base.h"
#include "pass.h"
#include "graph_attr_types.h"
namespace nnvm {
namespace pass {
......
......@@ -15,8 +15,8 @@
#include <tuple>
#include <utility>
#include "./base.h"
#include "./node.h"
#include "base.h"
#include "node.h"
namespace nnvm {
/*!
......
......@@ -11,7 +11,7 @@
#include <nnvm/tuple.h>
#include <nnvm/layout.h>
#include <string>
#include "./tensor.h"
#include "tensor.h"
namespace nnvm {
namespace top {
......
......@@ -12,7 +12,7 @@
#include <utility>
#include <iostream>
#include <string>
#include "./base.h"
#include "base.h"
namespace nnvm {
......
......@@ -4,7 +4,7 @@
* \brief C error handling
*/
#include <dmlc/thread_local.h>
#include "./c_api_common.h"
#include "c_api_common.h"
struct ErrorEntry {
std::string last_error;
......
......@@ -9,7 +9,7 @@
#include <nnvm/graph.h>
#include <nnvm/pass.h>
#include <dmlc/json.h>
#include "./c_api_common.h"
#include "c_api_common.h"
using namespace nnvm;
......
......@@ -6,7 +6,7 @@
#include <nnvm/c_api.h>
#include <nnvm/op.h>
#include <nnvm/symbolic.h>
#include "./c_api_common.h"
#include "c_api_common.h"
using namespace nnvm;
......
......@@ -12,8 +12,8 @@
#include <tvm/tvm.h>
#include <algorithm>
#include <functional>
#include "./compile_engine.h"
#include "./graph_transform.h"
#include "compile_engine.h"
#include "graph_transform.h"
namespace nnvm {
namespace compiler {
......
......@@ -11,8 +11,11 @@
#include <nnvm/pass_functions.h>
#include <nnvm/compiler/op_attr_types.h>
#include <mutex>
#include "./graph_hash.h"
#include "./compile_engine.h"
#include <tuple>
#include <vector>
#include <limits>
#include "graph_hash.h"
#include "compile_engine.h"
namespace nnvm {
namespace compiler {
......
......@@ -18,7 +18,7 @@
#include <tvm/lowered_func.h>
#include <string>
#include <utility>
#include "./graph_hash.h"
#include "graph_hash.h"
namespace nnvm {
namespace compiler {
......
......@@ -9,8 +9,8 @@
#include <nnvm/pass.h>
#include <nnvm/compiler/op_attr_types.h>
#include <nnvm/top/nn.h>
#include "./pattern_util.h"
#include "./graph_transform.h"
#include "pattern_util.h"
#include "graph_transform.h"
namespace nnvm {
namespace compiler {
......
......@@ -14,10 +14,11 @@
#include <nnvm/tuple.h>
#include <tvm/lowered_func.h>
#include <tvm/runtime/packed_func.h>
#include <limits>
#include "./graph_fuse.h"
#include "./graph_runtime.h"
#include "./pattern_util.h"
#include "graph_fuse.h"
#include "graph_runtime.h"
#include "pattern_util.h"
namespace nnvm {
namespace compiler {
......
......@@ -10,8 +10,10 @@
#include <tvm/ir.h>
#include <tvm/runtime/packed_func.h>
#include <functional>
#include "./node_attr.h"
#include "./graph_hash.h"
#include <vector>
#include <algorithm>
#include "node_attr.h"
#include "graph_hash.h"
namespace nnvm {
namespace compiler {
......
......@@ -4,7 +4,7 @@
* \brief Interface code with TVM graph runtime.
*/
#include <dmlc/memory_io.h>
#include "./graph_runtime.h"
#include "graph_runtime.h"
namespace nnvm {
namespace compiler {
......
......@@ -9,7 +9,7 @@
#include <nnvm/compiler/packed_func_ext.h>
#include <nnvm/compiler/op_attr_types.h>
#include <tvm/runtime/c_runtime_api.h>
#include "./node_attr.h"
#include "node_attr.h"
#include "compile_engine.h"
namespace tvm {
......
......@@ -9,8 +9,8 @@
#include <nnvm/pass.h>
#include <nnvm/compiler/op_attr_types.h>
#include <nnvm/top/nn.h>
#include "./graph_transform.h"
#include "./pattern_util.h"
#include "graph_transform.h"
#include "pattern_util.h"
namespace nnvm {
namespace compiler {
......
......@@ -8,7 +8,7 @@
#include <nnvm/graph_attr_types.h>
#include <nnvm/op_attr_types.h>
#include <memory>
#include "./graph_algorithm.h"
#include "graph_algorithm.h"
namespace nnvm {
namespace pass {
......
......@@ -12,7 +12,7 @@
#include <vector>
#include <utility>
#include <functional>
#include "./op_common.h"
#include "op_common.h"
namespace nnvm {
namespace top {
......
......@@ -12,7 +12,7 @@
#include <tvm/packed_func_ext.h>
#include <nnvm/compiler/op_attr_types.h>
#include <tvm/tvm.h>
#include "./nn_common.h"
#include "nn_common.h"
#include "../op_common.h"
#include "../elemwise_op_common.h"
#include "topi/nn.h"
......
......@@ -12,7 +12,7 @@
#include <nnvm/op_attr_types.h>
#include <nnvm/compiler/op_attr_types.h>
#include <nnvm/top/nn.h>
#include "./nn_common.h"
#include "nn_common.h"
#include "../op_common.h"
#include "../elemwise_op_common.h"
#include "topi/nn/dense.h"
......
......@@ -10,7 +10,7 @@
#include <nnvm/compiler/op_attr_types.h>
#include <nnvm/compiler/util.h>
#include <nnvm/top/nn.h>
#include "./nn_common.h"
#include "nn_common.h"
#include "../op_common.h"
#include "../elemwise_op_common.h"
#include "topi/nn/pooling.h"
......
......@@ -11,7 +11,7 @@
#include <nnvm/node.h>
#include <nnvm/op_attr_types.h>
#include <nnvm/top/nn.h>
#include "./nn_common.h"
#include "nn_common.h"
#include "../op_common.h"
#include "../elemwise_op_common.h"
#include "topi/elemwise.h"
......
......@@ -6,8 +6,12 @@
#include <tvm/ir_mutator.h>
#include <tvm/arithmetic.h>
#include <tvm/ir_pass.h>
#include "./canonical.h"
#include "./compute_expr.h"
#include <algorithm>
#include <map>
#include <limits>
#include <vector>
#include "canonical.h"
#include "compute_expr.h"
#include "arithmetic/Simplify.h"
namespace tvm {
......
......@@ -8,7 +8,7 @@
#include <tvm/ir_visitor.h>
#include <tvm/ir_functor_ext.h>
#include <tvm/arithmetic.h>
#include "./compute_expr.h"
#include "compute_expr.h"
namespace tvm {
namespace arith {
......
......@@ -9,8 +9,8 @@
#include <tvm/ir_functor_ext.h>
#include <arithmetic/Interval.h>
#include <unordered_map>
#include "./compute_expr.h"
#include "./int_set_internal.h"
#include "compute_expr.h"
#include "int_set_internal.h"
namespace tvm {
namespace arith {
......
......@@ -8,7 +8,7 @@
#include <tvm/ir_visitor.h>
#include <tvm/arithmetic.h>
#include <limits>
#include "./int_set_internal.h"
#include "int_set_internal.h"
namespace tvm {
namespace arith {
......
......@@ -5,8 +5,8 @@
#include <tvm/build_module.h>
#include <vector>
#include <string>
#include "./codegen_opencl.h"
#include "./build_common.h"
#include "codegen_opencl.h"
#include "build_common.h"
#include "../runtime/opencl/aocl/aocl_module.h"
#include "../runtime/file_util.h"
......
......@@ -4,7 +4,7 @@
*/
#include <iomanip>
#include <cctype>
#include "./codegen_c.h"
#include "codegen_c.h"
#include "../pass/ir_util.h"
#include "../arithmetic/compute_expr.h"
......
......@@ -14,7 +14,7 @@
#include <vector>
#include <unordered_map>
#include <unordered_set>
#include "./codegen_source_base.h"
#include "codegen_source_base.h"
namespace tvm {
namespace codegen {
......
......@@ -7,7 +7,7 @@
#include <tvm/packed_func_ext.h>
#include <vector>
#include <string>
#include "./codegen_cuda.h"
#include "codegen_cuda.h"
#include "../arithmetic/compute_expr.h"
namespace tvm {
......
......@@ -9,7 +9,7 @@
#include <tvm/codegen.h>
#include <tvm/packed_func_ext.h>
#include <string>
#include "./codegen_c.h"
#include "codegen_c.h"
namespace tvm {
namespace codegen {
......
......@@ -5,8 +5,9 @@
#include <tvm/packed_func_ext.h>
#include <vector>
#include <string>
#include "./codegen_metal.h"
#include "./build_common.h"
#include <algorithm>
#include "codegen_metal.h"
#include "build_common.h"
#include "../runtime/metal/metal_module.h"
#include "../runtime/thread_storage_scope.h"
......
......@@ -9,7 +9,7 @@
#include <tvm/codegen.h>
#include <tvm/packed_func_ext.h>
#include <string>
#include "./codegen_c.h"
#include "codegen_c.h"
namespace tvm {
namespace codegen {
......
......@@ -5,8 +5,8 @@
#include <tvm/packed_func_ext.h>
#include <vector>
#include <string>
#include "./codegen_opencl.h"
#include "./build_common.h"
#include "codegen_opencl.h"
#include "build_common.h"
#include "../runtime/thread_storage_scope.h"
#include "../runtime/opencl/opencl_module.h"
......
......@@ -9,7 +9,7 @@
#include <tvm/codegen.h>
#include <tvm/packed_func_ext.h>
#include <string>
#include "./codegen_c.h"
#include "codegen_c.h"
namespace tvm {
namespace codegen {
......
......@@ -8,8 +8,8 @@
#include <tvm/packed_func_ext.h>
#include <vector>
#include <string>
#include "./codegen_opengl.h"
#include "./build_common.h"
#include "codegen_opengl.h"
#include "build_common.h"
#include "../runtime/thread_storage_scope.h"
namespace tvm {
......
......@@ -9,7 +9,7 @@
#include <tvm/codegen.h>
#include <tvm/packed_func_ext.h>
#include <string>
#include "./codegen_c.h"
#include "codegen_c.h"
#include "../runtime/opengl/opengl_module.h"
namespace tvm {
......
......@@ -2,7 +2,7 @@
* Copyright (c) 2017 by Contributors
* \file codegen_source_base.cc
*/
#include "./codegen_source_base.h"
#include "codegen_source_base.h"
namespace tvm {
namespace codegen {
......
......@@ -5,8 +5,8 @@
#include <tvm/build_module.h>
#include <vector>
#include <string>
#include "./codegen_vhls.h"
#include "./build_common.h"
#include "codegen_vhls.h"
#include "build_common.h"
#include "../runtime/opencl/sdaccel/sdaccel_module.h"
namespace tvm {
......
......@@ -9,7 +9,7 @@
#include <tvm/codegen.h>
#include <tvm/packed_func_ext.h>
#include <string>
#include "./codegen_c.h"
#include "codegen_c.h"
namespace tvm {
namespace codegen {
......
......@@ -3,7 +3,7 @@
* \file intrin_rule_default.cc
* \brief Default intrinsic rules.
*/
#include "./intrin_rule.h"
#include "intrin_rule.h"
namespace tvm {
namespace codegen {
......
......@@ -3,7 +3,7 @@
* \file intrin_rule_cuda.cc
* \brief CUDA intrinsic rules.
*/
#include "./intrin_rule.h"
#include "intrin_rule.h"
namespace tvm {
namespace codegen {
......
......@@ -3,7 +3,7 @@
* \file intrin_rule_metal.cc
* \brief Metal intrinsic rules.
*/
#include "./intrin_rule.h"
#include "intrin_rule.h"
namespace tvm {
namespace codegen {
......
......@@ -3,7 +3,7 @@
* \file intrin_rule_opencl.cc
* \brief OpenCL intrinsic rules.
*/
#include "./intrin_rule.h"
#include "intrin_rule.h"
namespace tvm {
namespace codegen {
......
......@@ -3,7 +3,7 @@
* \file intrin_rule_opencl.cc
* \brief OpenCL intrinsic rules.
*/
#include "./intrin_rule.h"
#include "intrin_rule.h"
namespace tvm {
namespace codegen {
......
......@@ -3,7 +3,7 @@
* \file intrin_rule_vhls.cc
* \brief VHLS intrinsic rules.
*/
#include "./intrin_rule.h"
#include "intrin_rule.h"
namespace tvm {
namespace codegen {
......
......@@ -8,7 +8,7 @@
#include <tvm/runtime/device_api.h>
#include <tvm/runtime/c_runtime_api.h>
#include <tvm/runtime/registry.h>
#include "./codegen_llvm.h"
#include "codegen_llvm.h"
#include "../build_common.h"
#include "../codegen_source_base.h"
#include "../../pass/ir_util.h"
......
......@@ -4,7 +4,7 @@
* \brief ARM specific code generator
*/
#ifdef TVM_LLVM_VERSION
#include "./codegen_cpu.h"
#include "codegen_cpu.h"
namespace tvm {
namespace codegen {
......
......@@ -6,7 +6,7 @@
#include <tvm/runtime/c_runtime_api.h>
#include <tvm/ir_pass.h>
#include "./codegen_cpu.h"
#include "codegen_cpu.h"
#include "../../pass/ir_util.h"
namespace tvm {
......
......@@ -9,7 +9,7 @@
#include <utility>
#include <vector>
#include <string>
#include "./codegen_llvm.h"
#include "codegen_llvm.h"
namespace tvm {
namespace codegen {
......
......@@ -7,8 +7,8 @@
#include <tvm/runtime/device_api.h>
#include <tvm/runtime/c_runtime_api.h>
#include "./codegen_llvm.h"
#include "./codegen_cpu.h"
#include "codegen_llvm.h"
#include "codegen_cpu.h"
#include "../codegen_common.h"
#include "../../pass/ir_util.h"
#include "../../arithmetic/compute_expr.h"
......
......@@ -15,7 +15,7 @@
#include <utility>
#include <vector>
#include <string>
#include "./llvm_common.h"
#include "llvm_common.h"
#include "../../runtime/thread_storage_scope.h"
namespace tvm {
......
......@@ -6,7 +6,7 @@
#ifdef TVM_LLVM_VERSION
#include <tvm/runtime/device_api.h>
#include "./codegen_llvm.h"
#include "codegen_llvm.h"
#include "../build_common.h"
#include "../../pass/ir_util.h"
#include "../../runtime/cuda/cuda_module.h"
......
......@@ -4,7 +4,7 @@
*/
#ifdef TVM_LLVM_VERSION
#include "./intrin_rule_llvm.h"
#include "intrin_rule_llvm.h"
namespace tvm {
namespace codegen {
......
......@@ -11,7 +11,7 @@
#include <tvm/api_registry.h>
#include <tvm/codegen.h>
#include <string>
#include "./llvm_common.h"
#include "llvm_common.h"
namespace tvm {
namespace codegen {
......
......@@ -4,7 +4,7 @@
*/
#ifdef TVM_LLVM_VERSION
#include "./intrin_rule_llvm.h"
#include "intrin_rule_llvm.h"
#include <tvm/ir.h>
#include <tvm/expr.h>
#include <tvm/api_registry.h>
......
......@@ -6,7 +6,7 @@
#include <tvm/base.h>
#include <mutex>
#include "./llvm_common.h"
#include "llvm_common.h"
namespace tvm {
namespace codegen {
......
......@@ -7,8 +7,8 @@
#include <tvm/runtime/packed_func.h>
#include <tvm/codegen.h>
#include <mutex>
#include "./llvm_common.h"
#include "./codegen_llvm.h"
#include "llvm_common.h"
#include "codegen_llvm.h"
#include "../../runtime/file_util.h"
#include "../../runtime/module_util.h"
......
......@@ -4,7 +4,7 @@
* \brief Source code module, only for viewing
*/
#include <tvm/runtime/packed_func.h>
#include "./codegen_source_base.h"
#include "codegen_source_base.h"
#include "../runtime/file_util.h"
#include "../runtime/meta_data.h"
......
......@@ -8,7 +8,7 @@
#include <dmlc/memory_io.h>
#include <tvm/ir_pass.h>
#include "./codegen_spirv.h"
#include "codegen_spirv.h"
#include "../build_common.h"
#include "../../runtime/vulkan/vulkan_module.h"
......
......@@ -5,8 +5,9 @@
*/
#include <tvm/ir.h>
#include <tvm/ir_pass.h>
#include <string>
#include "../codegen_common.h"
#include "./codegen_spirv.h"
#include "codegen_spirv.h"
namespace tvm {
namespace codegen {
......
......@@ -12,7 +12,7 @@
#include <vector>
#include "./ir_builder.h"
#include "ir_builder.h"
#include "../../runtime/thread_storage_scope.h"
namespace tvm {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment