[uTVM] Reset target and wait for runtime initialization on connect. (#5499)
authorAndrew Reusch <areusch@octoml.ai>
Sat, 2 May 2020 17:52:40 +0000 (10:52 -0700)
committerGitHub <noreply@github.com>
Sat, 2 May 2020 17:52:40 +0000 (10:52 -0700)
commit63474062d307c8ec454b8caa7f9505306ce959d9
treec8a0e1eef6fe315593ce7f33aa13d99cb94b1843
parentc7a16d892da52f931a259a406922238a5e3e4f96
[uTVM] Reset target and wait for runtime initialization on connect. (#5499)

* This ensures a clean runtime environment for tuning and evaluating
   tasks.
 * This patch assumes that the code flashed to target executes the ARM
   BKPT or RISC-V EBREAK instructions after startup.
src/runtime/micro/openocd_low_level_device.cc