Skip to content

Commit

Permalink
[RUNTIME][REFACTOR] Re-organize Containers into SubFolders (#8183)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZihengJiang authored Jun 6, 2021
1 parent 43387d0 commit 2cca934
Show file tree
Hide file tree
Showing 99 changed files with 3,525 additions and 3,278 deletions.
1 change: 0 additions & 1 deletion include/tvm/arith/bound.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@

#include <tvm/arith/int_set.h>
#include <tvm/ir/expr.h>
#include <tvm/runtime/container.h>
#include <tvm/tir/expr.h>
#include <tvm/tir/stmt.h>

Expand Down
1 change: 0 additions & 1 deletion include/tvm/arith/pattern.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
#define TVM_ARITH_PATTERN_H_

#include <tvm/ir/expr.h>
#include <tvm/runtime/container.h>
#include <tvm/tir/expr.h>

namespace tvm {
Expand Down
1 change: 0 additions & 1 deletion include/tvm/auto_scheduler/loop_state.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@

#include <dmlc/common.h>
#include <tvm/auto_scheduler/transform_step.h>
#include <tvm/runtime/container.h>

#include <functional>
#include <unordered_map>
Expand Down
4 changes: 3 additions & 1 deletion include/tvm/ir/adt.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@
#include <tvm/ir/expr.h>
#include <tvm/ir/type.h>
#include <tvm/node/node.h>
#include <tvm/runtime/container.h>
#include <tvm/runtime/container/adt.h>
#include <tvm/runtime/container/array.h>
#include <tvm/runtime/container/string.h>
#include <tvm/runtime/object.h>

#include <string>
Expand Down
2 changes: 1 addition & 1 deletion include/tvm/ir/expr.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include <tvm/ir/span.h>
#include <tvm/ir/type.h>
#include <tvm/node/node.h>
#include <tvm/runtime/container.h>
#include <tvm/runtime/container/string.h>
#include <tvm/runtime/object.h>

#include <algorithm>
Expand Down
4 changes: 3 additions & 1 deletion include/tvm/ir/function.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@

#include <tvm/ir/attrs.h>
#include <tvm/ir/expr.h>
#include <tvm/runtime/container.h>
#include <tvm/runtime/container/array.h>
#include <tvm/runtime/container/map.h>
#include <tvm/runtime/container/string.h>

#include <string>
#include <type_traits>
Expand Down
2 changes: 1 addition & 1 deletion include/tvm/ir/instrument.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#define TVM_IR_INSTRUMENT_H_

#include <tvm/node/reflection.h>
#include <tvm/runtime/container.h>
#include <tvm/runtime/container/string.h>

#include <utility>
#include <vector>
Expand Down
4 changes: 3 additions & 1 deletion include/tvm/ir/module.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@
#include <tvm/ir/function.h>
#include <tvm/ir/type.h>
#include <tvm/parser/source_map.h>
#include <tvm/runtime/container.h>
#include <tvm/runtime/container/array.h>
#include <tvm/runtime/container/map.h>
#include <tvm/runtime/container/string.h>

#include <string>
#include <unordered_map>
Expand Down
3 changes: 2 additions & 1 deletion include/tvm/ir/transform.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@
#include <tvm/ir/error.h>
#include <tvm/ir/instrument.h>
#include <tvm/ir/module.h>
#include <tvm/runtime/container.h>
#include <tvm/runtime/container/array.h>
#include <tvm/runtime/container/string.h>
#include <tvm/support/with.h>

#include <string>
Expand Down
2 changes: 1 addition & 1 deletion include/tvm/ir/type.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@

#include <tvm/ir/span.h>
#include <tvm/node/node.h>
#include <tvm/runtime/container.h>
#include <tvm/runtime/container/array.h>
#include <tvm/runtime/data_type.h>
#include <tvm/runtime/object.h>

Expand Down
2 changes: 1 addition & 1 deletion include/tvm/node/attr_registry_map.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#ifndef TVM_NODE_ATTR_REGISTRY_MAP_H_
#define TVM_NODE_ATTR_REGISTRY_MAP_H_

#include <tvm/runtime/container.h>
#include <tvm/runtime/container/string.h>

#include <utility>
#include <vector>
Expand Down
1 change: 0 additions & 1 deletion include/tvm/node/node.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
#include <tvm/node/structural_equal.h>
#include <tvm/node/structural_hash.h>
#include <tvm/runtime/c_runtime_api.h>
#include <tvm/runtime/container.h>
#include <tvm/runtime/memory.h>
#include <tvm/runtime/object.h>

Expand Down
2 changes: 1 addition & 1 deletion include/tvm/node/structural_equal.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#define TVM_NODE_STRUCTURAL_EQUAL_H_

#include <tvm/node/functor.h>
#include <tvm/runtime/container.h>
#include <tvm/runtime/container/array.h>
#include <tvm/runtime/data_type.h>

#include <string>
Expand Down
1 change: 0 additions & 1 deletion include/tvm/node/structural_hash.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#define TVM_NODE_STRUCTURAL_HASH_H_

#include <tvm/node/functor.h>
#include <tvm/runtime/container.h>
#include <tvm/runtime/data_type.h>

#include <functional>
Expand Down
2 changes: 0 additions & 2 deletions include/tvm/relay/attrs/nn.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@

#include <string>

#include "tvm/runtime/container.h"

namespace tvm {
namespace relay {

Expand Down
1 change: 0 additions & 1 deletion include/tvm/relay/feature.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@

#include <tvm/ir/module.h>
#include <tvm/relay/expr.h>
#include <tvm/runtime/container.h>

#include <bitset>
#include <string>
Expand Down
2 changes: 1 addition & 1 deletion include/tvm/relay/interpreter.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

#include <tvm/ir/module.h>
#include <tvm/relay/expr.h>
#include <tvm/runtime/container.h>
#include <tvm/runtime/container/closure.h>
#include <tvm/runtime/object.h>
#include <tvm/target/target.h>

Expand Down
1 change: 0 additions & 1 deletion include/tvm/relay/transform.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
#include <tvm/relay/function.h>
#include <tvm/relay/op.h>
#include <tvm/relay/op_attr_types.h>
#include <tvm/runtime/container.h>
#include <tvm/target/target.h>

#include <string>
Expand Down
Loading

0 comments on commit 2cca934

Please sign in to comment.