[TVM Discuss] [Questions] [External Codegen] Constant tensors in c-codegen

2020-04-03 Thread Luke Hutton via TVM Discuss
@masahi Thanks for the suggestion, however since ACL is a c++ library ideally we would want to be able to cross-compile our codegen before using it on the remote device. I don't think we can assume the remote device has its own toolchain to compile the codegen we receive. --- [Visit Topi

[TVM Discuss] [Questions] [External Codegen] Constant tensors in c-codegen

2020-03-25 Thread Luke Hutton via TVM Discuss
I see, thanks for the help! --- [Visit Topic](https://discuss.tvm.ai/t/external-codegen-constant-tensors-in-c-codegen/5890/12) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here](https://discuss.tvm.ai/email/unsubscrib

[TVM Discuss] [Questions] [External Codegen] Constant tensors in c-codegen

2020-03-25 Thread Luke Hutton via TVM Discuss
Thanks, this is ok for a small number of values but doing this for ~13,000 values is where I think things get interesting. Am I correct in thinking that writing `a[0] = 2; a[1] = 1; ... ` for every value will cause the intermediate c file that is generated to explode in size? If that's the cas

[TVM Discuss] [Questions] [External Codegen] Constant tensors in c-codegen

2020-03-24 Thread Luke Hutton via TVM Discuss
Apologies for bringing up an old post for another question - I didn't think it warranted a new one and is related to this topic. Using the propagate constant to subgraphs PR (https://github.com/apache/incubator-tvm/pull/5094) I've run into the stack overflow issue mentioned in the comments tr