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/14 17:32:12 UTC

[GitHub] [incubator-tvm] FrozenGene opened a new pull request #4340: [CodeGen] Add build config option disable_assert to control whether to generate assert

FrozenGene opened a new pull request #4340: [CodeGen] Add build config option disable_assert to control whether to generate assert
URL: https://github.com/apache/incubator-tvm/pull/4340
 
 
   Currently, we will generate assert stmt, which will make us see many assert stmt in LLVM IR. It will Interference our focus. 
   
   The usage is simple:
   ```python
   with tvm.build_config(disable_assert=True):
       tvm.build(...)
   ```
   We will generate assert stmt by default as previous.
   
   Related discuss:
   https://discuss.tvm.ai/t/disable-assert-in-runtime/2152/4
   
   @tqchen 

----------------------------------------------------------------
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