[Apache TVM Discuss] [Questions] A failed example of using compute_at based on TVMScript

2021-11-17 Thread cho. via Apache TVM Discuss
But it seems that we should not consider the `min(1, OH - i) = 1`, but directly: for(i=0; ihttps://discuss.tvm.apache.org/t/a-failed-example-of-using-compute-at-based-on-tvmscript/11489/6) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these

[Apache TVM Discuss] [Questions] A failed example of using compute_at based on TVMScript

2021-11-17 Thread cho. via Apache TVM Discuss
Thank you for your reply, this is the way I want. According to your suggestion, I did an experiment and changed the constant 128 to the variable OH,OW. @T.prim_func def compute_at_call_extern(a: T.handle, c: T.handle) -> None: T.func_attr({"global_symbol": "main", "tir.noal

[Apache TVM Discuss] [Questions] A failed example of using compute_at based on TVMScript

2021-11-17 Thread cho. via Apache TVM Discuss
I am a TensorIR/TVMScript beginner, I did an experiment, triggered some errors, how to deal with it? Thanks. @T.prim_func def compute_at_call_exterm(a: T.handle, c: T.handle) -> None: T.func_attr({"global_symbol": "main", "tir.noalias": True}) A = T.match_buffer(a, (128,

[Apache TVM Discuss] [Questions] How to generate a function header file when using CodeGen?

2021-06-29 Thread cho. via Apache TVM Discuss
I wrote a script to generate the corresponding header file,and it works(without GetFunction.). --- [Visit Topic](https://discuss.tvm.apache.org/t/how-to-generate-a-function-header-file-when-using-codegen/10302/2) to respond. You are receiving this because you enabled mailing list mode.

[Apache TVM Discuss] [Questions] How to generate a function header file when using CodeGen?

2021-06-22 Thread cho. via Apache TVM Discuss
Hi, How do I get the header file(.h) corresponding to the generated .o ? ref: apps/howto_deploy/prepare_test_libs.py : prepare_test_libs fadd_syslib.save(syslib_path) Thanks. --- [Visit Topic](https://discuss.tvm.apache.org/t/how-to-generate-a-function-header-file-when-using-codegen