liangfu commented on issue #3934: [Runtime] MISRA-C compliant TVM runtime URL: https://github.com/apache/incubator-tvm/pull/3934#issuecomment-595053967 @tqchen @tmoreau89 Thanks for checking out. I made the demo merged into an existing directory `apps/bundle_deploy`, and now the proposed runtime expose exactly the same ABI with the existing runtime. If we try the `make demo` command, it would show the following results: ```java build/demo build/bundle.so build/cat.bin The maximum position in output vector is: 278, with max-value 0.613490. timing: 4.75 ms (create), 0.50 ms (set_input), 8.17 ms (run), 0.01 ms (get_output), 0.27 ms (destroy) build/demo build/bundle_c.so build/cat.bin The maximum position in output vector is: 278, with max-value 0.613490. timing: 3.40 ms (create), 0.25 ms (set_input), 7.04 ms (run), 0.00 ms (get_output), 0.30 ms (destroy) ``` We can easily see the performance improvements introduced in the MISRA-C runtime. Beyond improved stability, it's also expected to be faster!
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
