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


   This PR intends to add syntax sugar for For loop scope handler in TIR.
   Before this PR:
   ```
   for i in T.serial(0, 128)
   for i in T.parallel(0, 128)
   for i in T.vectorized(0, 128)
   for i in T.unroll(0, 128)
   for i in T.thread_binding(0, 128, thread="threadIdx.x")
   ```
   After this PR, note that the starting 0 can be omitted:
   ```
   for i in T.serial(128)
   for i in T.parallel(128)
   for i in T.vectorized(128)
   for i in T.unroll(128)
   for i in T.thread_binding(128, thread="threadIdx.x")
   ```


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