Skip to content

Draft: Generate file for benchmark

Context

Added multiple templates to benchmark the stm32h7

Modified files

  • benchmark.py can generate main.c and call functions
  • main_stm32h7/f7.jinja, main fuinctions for theses board which call a determined function
  • print_output.jinja, to generate print_output.hpp which can be called by main_stm32h7.jinja, and print the output tensor after a forward

TODO

  • compare_output.jinja
  • compute_time.jinja
  • Move gen methods into benchmark.py
  • fix main.c from stm32f7 board file (maybe on another MR)
Edited by Wissam Boussella

Merge request reports

Loading