[GitHub] [tvm] areusch commented on a change in pull request #7785: [AOT] Introducing AOT in TVM

2021-04-30 Thread GitBox
areusch commented on a change in pull request #7785: URL: https://github.com/apache/tvm/pull/7785#discussion_r623140515 ## File path: tests/python/relay/aot/aot_test_utils.py ## @@ -108,11 +109,18 @@ def create_main(test_name, input_list, output_list, output_path): ma

[GitHub] [tvm] areusch commented on a change in pull request #7785: [AOT] Introducing AOT in TVM

2021-04-27 Thread GitBox
areusch commented on a change in pull request #7785: URL: https://github.com/apache/tvm/pull/7785#discussion_r621367983 ## File path: src/target/source/source_module.cc ## @@ -191,17 +192,36 @@ class CSourceCrtMetadataModuleNode : public runtime::ModuleNode { << "}\

[GitHub] [tvm] areusch commented on a change in pull request #7785: [AOT] Introducing AOT in TVM

2021-04-27 Thread GitBox
areusch commented on a change in pull request #7785: URL: https://github.com/apache/tvm/pull/7785#discussion_r620547664 ## File path: python/tvm/relay/build_module.py ## @@ -213,7 +218,7 @@ def _build_module_no_factory(mod, target=None, target_host=None, params=None, mo r

[GitHub] [tvm] areusch commented on a change in pull request #7785: [AOT] Introducing AOT in TVM

2021-04-27 Thread GitBox
areusch commented on a change in pull request #7785: URL: https://github.com/apache/tvm/pull/7785#discussion_r621356673 ## File path: src/target/source/codegen_source_base.h ## @@ -155,7 +156,8 @@ runtime::Module CSourceModuleCreate(const String& code, const String& fmt, */

[GitHub] [tvm] areusch commented on a change in pull request #7785: [AOT] Introducing AOT in TVM

2021-04-26 Thread GitBox
areusch commented on a change in pull request #7785: URL: https://github.com/apache/tvm/pull/7785#discussion_r620537842 ## File path: src/relay/backend/build_module.cc ## @@ -131,14 +164,14 @@ class RelayBuildModule : public runtime::ModuleNode { PackedFunc GetFunction(const

[GitHub] [tvm] areusch commented on a change in pull request #7785: [AOT] Introducing AOT in TVM

2021-04-26 Thread GitBox
areusch commented on a change in pull request #7785: URL: https://github.com/apache/tvm/pull/7785#discussion_r619868182 ## File path: src/runtime/crt/memory/stack_allocator.c ## @@ -16,17 +16,22 @@ * specific language governing permissions and limitations * under the Licens

[GitHub] [tvm] areusch commented on a change in pull request #7785: [AOT] Introducing AOT in TVM

2021-04-25 Thread GitBox
areusch commented on a change in pull request #7785: URL: https://github.com/apache/tvm/pull/7785#discussion_r619868182 ## File path: src/runtime/crt/memory/stack_allocator.c ## @@ -16,17 +16,22 @@ * specific language governing permissions and limitations * under the Licens

[GitHub] [tvm] areusch commented on a change in pull request #7785: [AOT] Introducing AOT in TVM

2021-04-23 Thread GitBox
areusch commented on a change in pull request #7785: URL: https://github.com/apache/tvm/pull/7785#discussion_r619491548 ## File path: src/runtime/crt/memory/stack_allocator.c ## @@ -16,17 +16,22 @@ * specific language governing permissions and limitations * under the Licens

[GitHub] [tvm] areusch commented on a change in pull request #7785: [AOT] Introducing AOT in TVM

2021-04-23 Thread GitBox
areusch commented on a change in pull request #7785: URL: https://github.com/apache/tvm/pull/7785#discussion_r619396774 ## File path: src/runtime/crt/memory/stack_allocator.c ## @@ -16,17 +16,22 @@ * specific language governing permissions and limitations * under the Licens

[GitHub] [tvm] areusch commented on a change in pull request #7785: [AOT] Introducing AOT in TVM

2021-04-23 Thread GitBox
areusch commented on a change in pull request #7785: URL: https://github.com/apache/tvm/pull/7785#discussion_r619380889 ## File path: src/runtime/crt/memory/stack_allocator.c ## @@ -16,17 +16,22 @@ * specific language governing permissions and limitations * under the Licens

[GitHub] [tvm] areusch commented on a change in pull request #7785: [AOT] Introducing AOT in TVM

2021-04-23 Thread GitBox
areusch commented on a change in pull request #7785: URL: https://github.com/apache/tvm/pull/7785#discussion_r619364867 ## File path: src/runtime/crt/memory/stack_allocator.c ## @@ -16,17 +16,22 @@ * specific language governing permissions and limitations * under the Licens

[GitHub] [tvm] areusch commented on a change in pull request #7785: [AOT] Introducing AOT in TVM

2021-04-23 Thread GitBox
areusch commented on a change in pull request #7785: URL: https://github.com/apache/tvm/pull/7785#discussion_r619326998 ## File path: include/tvm/runtime/crt/stack_allocator.h ## @@ -0,0 +1,58 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more con

[GitHub] [tvm] areusch commented on a change in pull request #7785: [AOT] Introducing AOT in TVM

2021-04-22 Thread GitBox
areusch commented on a change in pull request #7785: URL: https://github.com/apache/tvm/pull/7785#discussion_r618529957 ## File path: src/relay/backend/build_module.cc ## @@ -473,23 +517,25 @@ class RelayBuildModule : public runtime::ModuleNode { // Relay IRModule -> IRM

[GitHub] [tvm] areusch commented on a change in pull request #7785: [AOT] Introducing AOT in TVM

2021-04-22 Thread GitBox
areusch commented on a change in pull request #7785: URL: https://github.com/apache/tvm/pull/7785#discussion_r618503865 ## File path: src/relay/backend/build_module.cc ## @@ -598,6 +587,8 @@ class RelayBuildModule : public runtime::ModuleNode { std::unordered_map params_;

[GitHub] [tvm] areusch commented on a change in pull request #7785: [AOT] Introducing AOT in TVM

2021-04-21 Thread GitBox
areusch commented on a change in pull request #7785: URL: https://github.com/apache/tvm/pull/7785#discussion_r617667974 ## File path: src/relay/backend/build_module.cc ## @@ -473,23 +517,25 @@ class RelayBuildModule : public runtime::ModuleNode { // Relay IRModule -> IRM

[GitHub] [tvm] areusch commented on a change in pull request #7785: [AOT] Introducing AOT in TVM

2021-04-16 Thread GitBox
areusch commented on a change in pull request #7785: URL: https://github.com/apache/tvm/pull/7785#discussion_r615046675 ## File path: src/runtime/crt/memory/stack_allocator.c ## @@ -0,0 +1,48 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more cont

[GitHub] [tvm] areusch commented on a change in pull request #7785: [AOT] Introducing AOT in TVM

2021-04-16 Thread GitBox
areusch commented on a change in pull request #7785: URL: https://github.com/apache/tvm/pull/7785#discussion_r615042963 ## File path: python/tvm/micro/model_library_format.py ## @@ -126,20 +125,25 @@ def export_model_library_format(mod: graph_executor_factory.GraphExecutorFact

[GitHub] [tvm] areusch commented on a change in pull request #7785: [AOT] Introducing AOT in TVM

2021-04-16 Thread GitBox
areusch commented on a change in pull request #7785: URL: https://github.com/apache/tvm/pull/7785#discussion_r615011186 ## File path: src/target/source/codegen_c_host.cc ## @@ -40,13 +40,16 @@ namespace codegen { CodeGenCHost::CodeGenCHost() { module_name_ = GetUniqueName("

[GitHub] [tvm] areusch commented on a change in pull request #7785: [AOT] Introducing AOT in TVM

2021-04-16 Thread GitBox
areusch commented on a change in pull request #7785: URL: https://github.com/apache/tvm/pull/7785#discussion_r615011186 ## File path: src/target/source/codegen_c_host.cc ## @@ -40,13 +40,16 @@ namespace codegen { CodeGenCHost::CodeGenCHost() { module_name_ = GetUniqueName("

[GitHub] [tvm] areusch commented on a change in pull request #7785: [AOT] Introducing AOT in TVM

2021-04-16 Thread GitBox
areusch commented on a change in pull request #7785: URL: https://github.com/apache/tvm/pull/7785#discussion_r615006631 ## File path: src/target/source/codegen_c_host.cc ## @@ -40,13 +40,16 @@ namespace codegen { CodeGenCHost::CodeGenCHost() { module_name_ = GetUniqueName("

[GitHub] [tvm] areusch commented on a change in pull request #7785: [AOT] Introducing AOT in TVM

2021-04-16 Thread GitBox
areusch commented on a change in pull request #7785: URL: https://github.com/apache/tvm/pull/7785#discussion_r614972206 ## File path: include/tvm/runtime/crt/page_allocator.h ## @@ -18,12 +18,12 @@ */ /*! - * \file tvm/runtime/crt/memory.h + * \file tvm/runtime/crt/page_al

[GitHub] [tvm] areusch commented on a change in pull request #7785: [AOT] Introducing AOT in TVM

2021-04-15 Thread GitBox
areusch commented on a change in pull request #7785: URL: https://github.com/apache/tvm/pull/7785#discussion_r614264731 ## File path: src/target/source/codegen_c_host.cc ## @@ -40,13 +40,16 @@ namespace codegen { CodeGenCHost::CodeGenCHost() { module_name_ = GetUniqueName("

[GitHub] [tvm] areusch commented on a change in pull request #7785: [AOT] Introducing AOT in TVM

2021-04-12 Thread GitBox
areusch commented on a change in pull request #7785: URL: https://github.com/apache/tvm/pull/7785#discussion_r611884529 ## File path: src/runtime/crt/common/aot_backend_api.c ## @@ -0,0 +1,59 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more cont

[GitHub] [tvm] areusch commented on a change in pull request #7785: [AOT] Introducing AOT in TVM

2021-04-09 Thread GitBox
areusch commented on a change in pull request #7785: URL: https://github.com/apache/tvm/pull/7785#discussion_r610796796 ## File path: include/tvm/runtime/crt/aot_executor.h ## @@ -68,6 +67,9 @@ extern "C" { typedef struct { } tvm_context_t; +typedef int32_t(tvm_function_t)(

[GitHub] [tvm] areusch commented on a change in pull request #7785: [AOT] Introducing AOT in TVM

2021-04-07 Thread GitBox
areusch commented on a change in pull request #7785: URL: https://github.com/apache/tvm/pull/7785#discussion_r608909183 ## File path: python/tvm/relay/build_module.py ## @@ -287,7 +289,8 @@ def build(ir_mod, target=None, target_host=None, params=None, mod_name="default"

[GitHub] [tvm] areusch commented on a change in pull request #7785: [AOT] Introducing AOT in TVM

2021-04-07 Thread GitBox
areusch commented on a change in pull request #7785: URL: https://github.com/apache/tvm/pull/7785#discussion_r608908551 ## File path: src/relay/backend/aot_codegen.cc ## @@ -0,0 +1,675 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor

[GitHub] [tvm] areusch commented on a change in pull request #7785: [AOT] Introducing AOT in TVM

2021-04-07 Thread GitBox
areusch commented on a change in pull request #7785: URL: https://github.com/apache/tvm/pull/7785#discussion_r608907358 ## File path: src/relay/backend/aot_codegen.cc ## @@ -0,0 +1,675 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor

[GitHub] [tvm] areusch commented on a change in pull request #7785: [AOT] Introducing AOT in TVM

2021-04-07 Thread GitBox
areusch commented on a change in pull request #7785: URL: https://github.com/apache/tvm/pull/7785#discussion_r608905836 ## File path: src/relay/backend/aot_codegen.cc ## @@ -0,0 +1,675 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor

[GitHub] [tvm] areusch commented on a change in pull request #7785: [AOT] Introducing AOT in TVM

2021-04-07 Thread GitBox
areusch commented on a change in pull request #7785: URL: https://github.com/apache/tvm/pull/7785#discussion_r608905836 ## File path: src/relay/backend/aot_codegen.cc ## @@ -0,0 +1,675 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor

[GitHub] [tvm] areusch commented on a change in pull request #7785: [AOT] Introducing AOT in TVM

2021-04-07 Thread GitBox
areusch commented on a change in pull request #7785: URL: https://github.com/apache/tvm/pull/7785#discussion_r608904869 ## File path: src/relay/backend/aot_codegen.cc ## @@ -0,0 +1,675 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor

[GitHub] [tvm] areusch commented on a change in pull request #7785: [AOT] Introducing AOT in TVM

2021-04-07 Thread GitBox
areusch commented on a change in pull request #7785: URL: https://github.com/apache/tvm/pull/7785#discussion_r608904060 ## File path: python/tvm/micro/model_library_format.py ## @@ -156,10 +170,11 @@ def export_model_library_format(mod: graph_executor_factory.GraphExecutorFact

[GitHub] [tvm] areusch commented on a change in pull request #7785: [AOT] Introducing AOT in TVM

2021-04-07 Thread GitBox
areusch commented on a change in pull request #7785: URL: https://github.com/apache/tvm/pull/7785#discussion_r608902101 ## File path: python/tvm/micro/model_library_format.py ## @@ -86,10 +86,13 @@ def _build_memory_map(graph_json): list : A list with one entry pe

[GitHub] [tvm] areusch commented on a change in pull request #7785: [AOT] Introducing AOT in TVM

2021-04-07 Thread GitBox
areusch commented on a change in pull request #7785: URL: https://github.com/apache/tvm/pull/7785#discussion_r608893253 ## File path: src/target/source/source_module.cc ## @@ -191,17 +192,35 @@ class CSourceCrtMetadataModuleNode : public runtime::ModuleNode { << "}\