You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/09/23 21:10:46 UTC

[GitHub] [tvm] tkonolige commented on issue #12852: [Bug] Meta Schedule Layout Rewrite Failure

tkonolige commented on issue #12852:
URL: https://github.com/apache/tvm/issues/12852#issuecomment-1256682130

   Here is another test case that prints out a bunch of `ThreadTraceApply` errors:
   
   ```
   import tvm
   from tvm.script import tir as T
   
   @T.prim_func
   def matmul(
       A: T.Buffer[(512, 512), "float32"],
       B: T.Buffer[(512, 512), "float32"],
       C: T.Buffer[(512, 512), "float32"],
       )->None:
       for i in range(512):
           for j in range(512):
               for k in range(512):
                   with T.block("update"):
                       C[i, j] = C[i, j] + A[i, k] * B[j, k]
   
   s=tvm.meta_schedule.tune_tir(matmul, "llvm --num-cores 1", tvm.meta_schedule.TuneConfig(100, 32), "tmp")
   ```
   
   I tested it with the commit before #12720 and still got a bunch of errors. Not sure if it is related to this.


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

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org