tvm-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Liangfu Chen <notificati...@github.com>
Subject Re: [dmlc/tvm] [RFC] MISRA-C/C++ Compliant Runtime (#3159)
Date Thu, 16 May 2019 02:51:39 GMT
> Does MISRA compliance affect the compiler or the generated code as well?

In my observation, the compliance does affect the compiler and the code generator. However,
as a first step towards making TVM available for the critical and safety related systems,
I think it's important to consider the runtime design first.

> Perhaps if we could enumerate which platforms (and users) would want a Safe runtime

It's difficult to enumerate all the platforms and users who want such runtime. However, it
would be a good start to consider how could a developer use TVM to perform the perception
task in a fully automated driving vehicle. There are a number of platforms that are already
certified by ISO 26262 (e.g. [QNX](http://www.qnx.com/news/pr_5603_1.html) ), and for the
open source world, I think it's good to start with Zephyr RTOS.

On the other hand, in order to reduce the effort in rewriting another minimal runtime, I think
we should try to eliminate the usage of `malloc`, or at least conclude required memory allocation
to input, intermediate and output buffers only.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/dmlc/tvm/issues/3159#issuecomment-492896292
Mime
  • Unnamed multipart/alternative (inline, 7-Bit, 0 bytes)
View raw message