tvm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-tvm] tqchen opened a new pull request #5651: [RUNTIME] Resolve constexpr issue in debug mode.
Date Fri, 22 May 2020 16:16:44 GMT

tqchen opened a new pull request #5651:
URL: https://github.com/apache/incubator-tvm/pull/5651


   static constexpr is a bit weird before c++17.
   They are not inlined by default and does not have symbols after compilation.
   It usually isn't a problem when they are inlined(in c++17 they are inlined by default).
   But will create compilation error when passed to functions that take (const)references.
   This PR fixes the problem so that we can compile on debugmode.
   
   


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



Mime
View raw message