wweic commented on issue #4346: [Runtime] Make ADTObject POD container type URL: https://github.com/apache/incubator-tvm/pull/4346#issuecomment-555198920 @tqchen The c++ compiler in CI does not support defining static constexpr from sizeof of ADTObj, since its definition is not complete. I saw the error last time so I changed it to runtime constant. Do you want to upgrade the compiler version or I'll change it back to runtime constant? ```` /workspace/include/tvm/runtime/container.h:138:40: error: invalid application of 'sizeof' to an incomplete type 'tvm::runtime::ADTObj' static constexpr size_t kDataStart = sizeof(ArrayType); /workspace/include/tvm/runtime/container.h:163:7: note: definition of 'tvm::runtime::ADTObj' is not complete until the closing '}' class ADTObj : public Object, public InplaceArrayBase<ADTObj, ObjectRef> { ````
---------------------------------------------------------------- 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
