[Apache TVM Discuss] [Questions] How do I add custom data load and write back through TIR?

2022-06-09 Thread F Pecc via Apache TVM Discuss
I would advise you to take a look at the cache_read and cache_write methods of the schedules. In my particular case (I don't know if this is exactly what you are looking for) I use this 2 methods to generate read and write stages, and then tag this stages with specific pragmas. Then, I have 2

[Apache TVM Discuss] [Questions] How to set CPU of Hexagon simulator?

2022-06-09 Thread Iktsuarpokk via Apache TVM Discuss
I'm trying to do some tests followed [testing info](https://github.com/apache/tvm/tree/9273ea5e49ca05404293cb651ced6d0bc0c0f206/tests/python/contrib/test_hexagon).\ I tried to generate a session like this below.\ ![image|637x217](upload://uOSNniJWGsLDSogBE3cZJG9PeLb.png) Then I just try to gen

[Apache TVM Discuss] [Questions] How do I add custom data load and write back through TIR?

2022-06-09 Thread 夏余鑫 via Apache TVM Discuss
Thank you for your answer. I would like to know how to tag read/write stages with specific pragmas. --- [Visit Topic](https://discuss.tvm.apache.org/t/how-do-i-add-custom-data-load-and-write-back-through-tir/12927/3) to respond. You are receiving this because you enabled mailing list mod

[Apache TVM Discuss] [Questions] [VTA] Questions about VTA packed format

2022-06-09 Thread okkk via Apache TVM Discuss
Hi, has your problem been solved? --- [Visit Topic](https://discuss.tvm.apache.org/t/vta-questions-about-vta-packed-format/1878/9) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here](https://discuss.tvm.apache.org/emai

[Apache TVM Discuss] [Questions] How do I add custom data load and write back through TIR?

2022-06-09 Thread F Pecc via Apache TVM Discuss
The way to do it is using the "pragma" method of the stage. There are examples [here](https://github.com/apache/tvm/blob/6fca5c657a2fadc16fd7ff44de8a6a9656d50c1b/vta/python/vta/top/vta_conv2d.py#L148) and [here](https://github.com/apache/tvm/blob/6fca5c657a2fadc16fd7ff44de8a6a9656d50c1b/apps/t

[Apache TVM Discuss] [Questions] How do I add custom data load and write back through TIR?

2022-06-09 Thread 夏余鑫 via Apache TVM Discuss
Thank you very much for your answer, I think I get it. --- [Visit Topic](https://discuss.tvm.apache.org/t/how-do-i-add-custom-data-load-and-write-back-through-tir/12927/5) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click