[GitHub] [incubator-tvm] areusch commented on a change in pull request #5417: [RUNTIME][uTVM] AutoTVM + uTVM for Cortex-M7

2020-04-28 Thread GitBox
areusch commented on a change in pull request #5417: URL: https://github.com/apache/incubator-tvm/pull/5417#discussion_r416998175 ## File path: python/tvm/exec/rpc_server.py ## @@ -100,27 +101,34 @@ def server_shutdown(): parser.add_argument('--port-end', type=int,

[GitHub] [incubator-tvm] areusch commented on a change in pull request #5417: [RUNTIME][uTVM] AutoTVM + uTVM for Cortex-M7

2020-04-28 Thread GitBox
areusch commented on a change in pull request #5417: URL: https://github.com/apache/incubator-tvm/pull/5417#discussion_r416996008 ## File path: python/tvm/exec/rpc_server.py ## @@ -100,27 +101,34 @@ def server_shutdown(): parser.add_argument('--port-end', type=int,

[GitHub] [incubator-tvm] areusch commented on a change in pull request #5417: [RUNTIME][uTVM] AutoTVM + uTVM for Cortex-M7

2020-04-28 Thread GitBox
areusch commented on a change in pull request #5417: URL: https://github.com/apache/incubator-tvm/pull/5417#discussion_r416995111 ## File path: python/tvm/autotvm/measure/local_executor.py ## @@ -145,6 +145,7 @@ def submit(self, func, *args, **kwargs): if not

[GitHub] [incubator-tvm] areusch commented on a change in pull request #5417: [RUNTIME][uTVM] AutoTVM + uTVM for Cortex-M7

2020-04-27 Thread GitBox
areusch commented on a change in pull request #5417: URL: https://github.com/apache/incubator-tvm/pull/5417#discussion_r416140904 ## File path: src/runtime/micro/micro_session.cc ## @@ -209,59 +246,124 @@ MicroSession::~MicroSession() { low_level_device_ = nullptr; }

[GitHub] [incubator-tvm] areusch commented on a change in pull request #5417: [RUNTIME][uTVM] AutoTVM + uTVM for Cortex-M7

2020-04-27 Thread GitBox
areusch commented on a change in pull request #5417: URL: https://github.com/apache/incubator-tvm/pull/5417#discussion_r416140211 ## File path: python/tvm/autotvm/tuner/callback.py ## @@ -144,12 +144,12 @@ def __del__(self): def _callback(tuner, inputs, results):

[GitHub] [incubator-tvm] areusch commented on a change in pull request #5417: [RUNTIME][uTVM] AutoTVM + uTVM for Cortex-M7

2020-04-27 Thread GitBox
areusch commented on a change in pull request #5417: URL: https://github.com/apache/incubator-tvm/pull/5417#discussion_r416140782 ## File path: python/tvm/autotvm/tuner/tuner.py ## @@ -150,7 +150,15 @@ def tune(self, n_trial, measure_option, early_stopping=None, callbacks=(),

[GitHub] [incubator-tvm] areusch commented on a change in pull request #5417: [RUNTIME][uTVM] AutoTVM + uTVM for Cortex-M7

2020-04-27 Thread GitBox
areusch commented on a change in pull request #5417: URL: https://github.com/apache/incubator-tvm/pull/5417#discussion_r416139282 ## File path: topi/python/topi/arm_cpu/cortex_m7/micro_kernel/gemm.py ## @@ -0,0 +1,221 @@ +# Licensed to the Apache Software Foundation (ASF)

[GitHub] [incubator-tvm] areusch commented on a change in pull request #5417: [RUNTIME][uTVM] AutoTVM + uTVM for Cortex-M7

2020-04-27 Thread GitBox
areusch commented on a change in pull request #5417: URL: https://github.com/apache/incubator-tvm/pull/5417#discussion_r416138909 ## File path: tests/python/unittest/test_runtime_micro.py ## @@ -25,8 +25,25 @@ from tvm.micro import create_micro_mod from tvm.relay.testing

[GitHub] [incubator-tvm] areusch commented on a change in pull request #5417: [RUNTIME][uTVM] AutoTVM + uTVM for Cortex-M7

2020-04-27 Thread GitBox
areusch commented on a change in pull request #5417: URL: https://github.com/apache/incubator-tvm/pull/5417#discussion_r416138054 ## File path: src/runtime/micro/micro_session.cc ## @@ -209,59 +246,124 @@ MicroSession::~MicroSession() { low_level_device_ = nullptr; }

[GitHub] [incubator-tvm] areusch commented on a change in pull request #5417: [RUNTIME][uTVM] AutoTVM + uTVM for Cortex-M7

2020-04-27 Thread GitBox
areusch commented on a change in pull request #5417: URL: https://github.com/apache/incubator-tvm/pull/5417#discussion_r415991766 ## File path: topi/python/topi/arm_cpu/cortex_m7/conv2d/direct.py ## @@ -0,0 +1,177 @@ +# Licensed to the Apache Software Foundation (ASF) under

[GitHub] [incubator-tvm] areusch commented on a change in pull request #5417: [RUNTIME][uTVM] AutoTVM + uTVM for Cortex-M7

2020-04-27 Thread GitBox
areusch commented on a change in pull request #5417: URL: https://github.com/apache/incubator-tvm/pull/5417#discussion_r415990923 ## File path: src/target/source/codegen_c_host.cc ## @@ -20,10 +20,10 @@ /*! * \file codegen_c_host.cc */ -#include +#include

[GitHub] [incubator-tvm] areusch commented on a change in pull request #5417: [RUNTIME][uTVM] AutoTVM + uTVM for Cortex-M7

2020-04-27 Thread GitBox
areusch commented on a change in pull request #5417: URL: https://github.com/apache/incubator-tvm/pull/5417#discussion_r415989331 ## File path: src/runtime/micro/micro_common.h ## @@ -52,28 +53,115 @@ enum class SectionKind : size_t { kNumKinds, }; -/*! \brief union for

[GitHub] [incubator-tvm] areusch commented on a change in pull request #5417: [RUNTIME][uTVM] AutoTVM + uTVM for Cortex-M7

2020-04-27 Thread GitBox
areusch commented on a change in pull request #5417: URL: https://github.com/apache/incubator-tvm/pull/5417#discussion_r415988262 ## File path: src/runtime/micro/host_driven/utvm_runtime.h ## @@ -46,20 +62,38 @@ typedef struct { int32_t num_args; } UTVMTask; +/*! + *

[GitHub] [incubator-tvm] areusch commented on a change in pull request #5417: [RUNTIME][uTVM] AutoTVM + uTVM for Cortex-M7

2020-04-27 Thread GitBox
areusch commented on a change in pull request #5417: URL: https://github.com/apache/incubator-tvm/pull/5417#discussion_r415988618 ## File path: src/runtime/micro/micro_common.h ## @@ -52,28 +53,115 @@ enum class SectionKind : size_t { kNumKinds, }; -/*! \brief union for

[GitHub] [incubator-tvm] areusch commented on a change in pull request #5417: [RUNTIME][uTVM] AutoTVM + uTVM for Cortex-M7

2020-04-27 Thread GitBox
areusch commented on a change in pull request #5417: URL: https://github.com/apache/incubator-tvm/pull/5417#discussion_r415984080 ## File path: src/runtime/micro/host_driven/utvm_runtime.c ## @@ -34,89 +34,148 @@ extern "C" { #include "utvm_runtime.h" -// Task pointers

[GitHub] [incubator-tvm] areusch commented on a change in pull request #5417: [RUNTIME][uTVM] AutoTVM + uTVM for Cortex-M7

2020-04-27 Thread GitBox
areusch commented on a change in pull request #5417: URL: https://github.com/apache/incubator-tvm/pull/5417#discussion_r415983620 ## File path: src/runtime/micro/host_driven/utvm_runtime.c ## @@ -34,89 +34,148 @@ extern "C" { #include "utvm_runtime.h" -// Task pointers

[GitHub] [incubator-tvm] areusch commented on a change in pull request #5417: [RUNTIME][uTVM] AutoTVM + uTVM for Cortex-M7

2020-04-27 Thread GitBox
areusch commented on a change in pull request #5417: URL: https://github.com/apache/incubator-tvm/pull/5417#discussion_r415981837 ## File path: src/runtime/micro/host_driven/utvm_runtime.c ## @@ -34,89 +34,148 @@ extern "C" { #include "utvm_runtime.h" -// Task pointers

[GitHub] [incubator-tvm] areusch commented on a change in pull request #5417: [RUNTIME][uTVM] AutoTVM + uTVM for Cortex-M7

2020-04-27 Thread GitBox
areusch commented on a change in pull request #5417: URL: https://github.com/apache/incubator-tvm/pull/5417#discussion_r415981441 ## File path: src/runtime/micro/host_driven/utvm_runtime.c ## @@ -34,89 +34,148 @@ extern "C" { #include "utvm_runtime.h" -// Task pointers

[GitHub] [incubator-tvm] areusch commented on a change in pull request #5417: [RUNTIME][uTVM] AutoTVM + uTVM for Cortex-M7

2020-04-27 Thread GitBox
areusch commented on a change in pull request #5417: URL: https://github.com/apache/incubator-tvm/pull/5417#discussion_r415980487 ## File path: src/runtime/micro/host_driven/utvm_device_dylib_redirect.c ## @@ -32,10 +32,10 @@ extern "C" { #include #include -void

[GitHub] [incubator-tvm] areusch commented on a change in pull request #5417: [RUNTIME][uTVM] AutoTVM + uTVM for Cortex-M7

2020-04-27 Thread GitBox
areusch commented on a change in pull request #5417: URL: https://github.com/apache/incubator-tvm/pull/5417#discussion_r415970964 ## File path: src/ir/error.cc ## @@ -62,16 +62,21 @@ void ErrorReporter::RenderErrors(const IRModule& module, bool use_color) {

[GitHub] [incubator-tvm] areusch commented on a change in pull request #5417: [RUNTIME][uTVM] AutoTVM + uTVM for Cortex-M7

2020-04-27 Thread GitBox
areusch commented on a change in pull request #5417: URL: https://github.com/apache/incubator-tvm/pull/5417#discussion_r415970450 ## File path: python/tvm/target/arm_isa.py ## @@ -0,0 +1,34 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor

[GitHub] [incubator-tvm] areusch commented on a change in pull request #5417: [RUNTIME][uTVM] AutoTVM + uTVM for Cortex-M7

2020-04-27 Thread GitBox
areusch commented on a change in pull request #5417: URL: https://github.com/apache/incubator-tvm/pull/5417#discussion_r415967381 ## File path: python/tvm/relay/op/strategy/arm_cpu.py ## @@ -267,7 +281,7 @@ def bitserial_conv2d_strategy_arm_cpu(attrs, inputs, out_type,

[GitHub] [incubator-tvm] areusch commented on a change in pull request #5417: [RUNTIME][uTVM] AutoTVM + uTVM for Cortex-M7

2020-04-27 Thread GitBox
areusch commented on a change in pull request #5417: URL: https://github.com/apache/incubator-tvm/pull/5417#discussion_r415961064 ## File path: python/tvm/relay/_parser.py ## @@ -340,7 +342,10 @@ def visitLocalVar(self, ctx): return local_var def

[GitHub] [incubator-tvm] areusch commented on a change in pull request #5417: [RUNTIME][uTVM] AutoTVM + uTVM for Cortex-M7

2020-04-27 Thread GitBox
areusch commented on a change in pull request #5417: URL: https://github.com/apache/incubator-tvm/pull/5417#discussion_r415959267 ## File path: python/tvm/micro/device/host.py ## @@ -17,12 +17,26 @@ """Compilation and config definitions for the host emulated device""" import

[GitHub] [incubator-tvm] areusch commented on a change in pull request #5417: [RUNTIME][uTVM] AutoTVM + uTVM for Cortex-M7

2020-04-27 Thread GitBox
areusch commented on a change in pull request #5417: URL: https://github.com/apache/incubator-tvm/pull/5417#discussion_r415958851 ## File path: python/tvm/micro/device/base.py ## @@ -92,71 +95,142 @@ def create_micro_lib_base( options : List[str] additional

[GitHub] [incubator-tvm] areusch commented on a change in pull request #5417: [RUNTIME][uTVM] AutoTVM + uTVM for Cortex-M7

2020-04-27 Thread GitBox
areusch commented on a change in pull request #5417: URL: https://github.com/apache/incubator-tvm/pull/5417#discussion_r415958560 ## File path: python/tvm/micro/device/base.py ## @@ -92,71 +95,142 @@ def create_micro_lib_base( options : List[str] additional

[GitHub] [incubator-tvm] areusch commented on a change in pull request #5417: [RUNTIME][uTVM] AutoTVM + uTVM for Cortex-M7

2020-04-27 Thread GitBox
areusch commented on a change in pull request #5417: URL: https://github.com/apache/incubator-tvm/pull/5417#discussion_r415949272 ## File path: python/tvm/autotvm/tuner/tuner.py ## @@ -150,7 +150,15 @@ def tune(self, n_trial, measure_option, early_stopping=None, callbacks=(),

[GitHub] [incubator-tvm] areusch commented on a change in pull request #5417: [RUNTIME][uTVM] AutoTVM + uTVM for Cortex-M7

2020-04-27 Thread GitBox
areusch commented on a change in pull request #5417: URL: https://github.com/apache/incubator-tvm/pull/5417#discussion_r415947706 ## File path: python/tvm/micro/device/arm/stm32f746xx.py ## @@ -36,23 +55,41 @@ def create_micro_lib(obj_path, src_path, lib_type, options=None):

[GitHub] [incubator-tvm] areusch commented on a change in pull request #5417: [RUNTIME][uTVM] AutoTVM + uTVM for Cortex-M7

2020-04-27 Thread GitBox
areusch commented on a change in pull request #5417: URL: https://github.com/apache/incubator-tvm/pull/5417#discussion_r415942734 ## File path: Makefile ## @@ -73,7 +73,10 @@ build/libtvm_web_runtime.js: build/libtvm_web_runtime.bc cpplint: python3

[GitHub] [incubator-tvm] areusch commented on a change in pull request #5417: [RUNTIME][uTVM] AutoTVM + uTVM for Cortex-M7

2020-04-24 Thread GitBox
areusch commented on a change in pull request #5417: URL: https://github.com/apache/incubator-tvm/pull/5417#discussion_r414956089 ## File path: python/tvm/contrib/binutil.py ## @@ -220,17 +228,32 @@ def tvm_callback_relocate_binary(

[GitHub] [incubator-tvm] areusch commented on a change in pull request #5417: [RUNTIME][uTVM] AutoTVM + uTVM for Cortex-M7

2020-04-24 Thread GitBox
areusch commented on a change in pull request #5417: URL: https://github.com/apache/incubator-tvm/pull/5417#discussion_r414955744 ## File path: python/tvm/micro/base.py ## @@ -133,44 +152,91 @@ def __exit__(self, exc_type, exc_value, exc_traceback): self._exit()

[GitHub] [incubator-tvm] areusch commented on a change in pull request #5417: [RUNTIME][uTVM] AutoTVM + uTVM for Cortex-M7

2020-04-24 Thread GitBox
areusch commented on a change in pull request #5417: URL: https://github.com/apache/incubator-tvm/pull/5417#discussion_r414955794 ## File path: python/tvm/micro/device/host.py ## @@ -38,59 +52,65 @@ def create_micro_lib(obj_path, src_path, lib_type, options=None):

[GitHub] [incubator-tvm] areusch commented on a change in pull request #5417: [RUNTIME][uTVM] AutoTVM + uTVM for Cortex-M7

2020-04-24 Thread GitBox
areusch commented on a change in pull request #5417: URL: https://github.com/apache/incubator-tvm/pull/5417#discussion_r414955335 ## File path: python/tvm/contrib/debugger/debug_runtime.py ## @@ -181,6 +181,7 @@ def _run_debug(self): """

[GitHub] [incubator-tvm] areusch commented on a change in pull request #5417: [RUNTIME][uTVM] AutoTVM + uTVM for Cortex-M7

2020-04-24 Thread GitBox
areusch commented on a change in pull request #5417: URL: https://github.com/apache/incubator-tvm/pull/5417#discussion_r414919556 ## File path: topi/python/topi/arm_cpu/cortex_m7/micro_kernel/gemm.py ## @@ -0,0 +1,221 @@ +# Licensed to the Apache Software Foundation (ASF)

[GitHub] [incubator-tvm] areusch commented on a change in pull request #5417: [RUNTIME][uTVM] AutoTVM + uTVM for Cortex-M7

2020-04-24 Thread GitBox
areusch commented on a change in pull request #5417: URL: https://github.com/apache/incubator-tvm/pull/5417#discussion_r414919196 ## File path: tests/python/unittest/test_runtime_micro.py ## @@ -25,8 +25,25 @@ from tvm.micro import create_micro_mod from tvm.relay.testing

[GitHub] [incubator-tvm] areusch commented on a change in pull request #5417: [RUNTIME][uTVM] AutoTVM + uTVM for Cortex-M7

2020-04-24 Thread GitBox
areusch commented on a change in pull request #5417: URL: https://github.com/apache/incubator-tvm/pull/5417#discussion_r414919333 ## File path: topi/python/topi/arm_cpu/conv2d_spatial_pack.py ## @@ -173,7 +173,7 @@ def schedule_conv2d_spatial_pack_nchw(cfg, s, data_vec,

[GitHub] [incubator-tvm] areusch commented on a change in pull request #5417: [RUNTIME][uTVM] AutoTVM + uTVM for Cortex-M7

2020-04-24 Thread GitBox
areusch commented on a change in pull request #5417: URL: https://github.com/apache/incubator-tvm/pull/5417#discussion_r414918682 ## File path: src/runtime/micro/openocd_low_level_device.cc ## @@ -210,9 +210,9 @@ class OpenOCDLowLevelDevice final : public LowLevelDevice {

[GitHub] [incubator-tvm] areusch commented on a change in pull request #5417: [RUNTIME][uTVM] AutoTVM + uTVM for Cortex-M7

2020-04-24 Thread GitBox
areusch commented on a change in pull request #5417: URL: https://github.com/apache/incubator-tvm/pull/5417#discussion_r414918275 ## File path: src/runtime/micro/micro_session.cc ## @@ -489,6 +629,16 @@ PackedFunc MicroSession::GetFunction( return