You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2019/11/07 21:00:35 UTC

[GitHub] [incubator-tvm] weberlo opened a new pull request #4274: [µTVM] Enable AutoTVM for ARM STM32F746XX Boards

weberlo opened a new pull request #4274: [µTVM] Enable AutoTVM for ARM STM32F746XX Boards
URL: https://github.com/apache/incubator-tvm/pull/4274
 
 
   This PR adds support for autotuning via MicroTVM.  To test this infrastructure on a physical board, I have added support for ARM STM32F746XX boards, featuring Cortex-M7 CPUs.  As a followup to this PR, I will write a tutorial for tuning conv2d.
   
   Here are the most notable changes:
   - All components in the µTVM infra are now parameterized by the word size of the target device.
   - Device configuration has been expanded to include the memory layout, word size, and thumb mode indicator of the device.
   - There is now a `micro.device` Python namespace featuring a global registry of all supported devices.  The registry is indexed by device ID (e.g., `host`, `riscv_spike`, or `arm.stm32f746xx`). and maps to dictionaries containing two functions: `create_micro_lib` (for creating libraries specific to that device) and `default_config` (for generating default device-specific config).
   - The µTVM runtime API has been expanded to include timing functions, where each implementation is device-specific.`
   - There is new a `src/runtime/micro/device` folder which mirrors the structure of the `micro.device` folder and includes device initialization and timer implementations for each device.
   - RPC sessions will now use the `MicroTimeEvaluator` when possible, to make use of cycle-accurate timings available on microcontrollers, instead of using wall clock time (which would include communication overhead).
   
   Many thanks to @tqchen for discussing the design with me!
   
   CC @u99127 @ajtulloch @jwfromm 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services