shingjan opened a new pull request #9680:
URL: https://github.com/apache/tvm/pull/9680


   1. For reads & writes:
   
   Before this PR
   ```
   @T.prim_func
   def func(a: T.handle, b: T.handle, c: T.handle) -> None:
               ...
               T.reads([C[vi, vj], A[vi, vk], B[vj, vk]])
               T.writes([C[vi, vj], A[vi, vk]])
               ...
   ```
   After this PR
   ```
   @T.prim_func
   def func(a: T.handle, b: T.handle, c: T.handle) -> None:
               ...
               T.reads(C[vi, vj], A[vi, vk], B[vj, vk])
               T.writes(C[vi, vj], A[vi, vk])
               ...
   ```
   
   2. For loops:
   
   Before this PR
   ```
   @T.prim_func
   def func(a: T.handle) -> None:
       ...
       for i in T.serial(0, 128):
           for j in T.parallel(0, 128):
               for k in T.vectorized(0, 128):
                   for x in T.unroll(0, 128):
                       for y in T.thread_binding(0, 128, thread="threadIdx.x"):
                           ...
   ```
   After this PR
   ```
   ```
   
   3. For T.match_buffer():
   
   Before this PR
   ```
   ```
   After this PR
   ```
   ```
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to