You are viewing a plain text version of this content. The canonical link for it is here.
Posted to discuss-archive@tvm.apache.org by "jinhongyii (via GitHub)" <gi...@apache.org> on 2026/07/29 04:58:07 UTC

[PR] [FIX][TIRx] Constant-fold copy slice extents [tvm]

jinhongyii opened a new pull request, #20067:
URL: https://github.com/apache/tvm/pull/20067

   ## Motivation and context
   
   Copy regions can retain constant-valued expressions after variable substitution. Converting those expressions directly to Python integers rejects valid slices even though their extents are statically known.
   
   ## Changes
   
   - Simplify swizzled-region extents before converting them to Python integers.
   - Continue rejecting genuinely symbolic extents.
   - Add a hardware-independent regression for an unfolded constant slice extent.
   
   ## Testing
   
   - `python -m pytest tests/python/tirx/operator/tile_primitive/test_cuda_copy_common.py`
   - Changed-files pre-commit checks


-- 
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: discuss-archive-unsubscribe@tvm.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org
For additional commands, e-mail: discuss-archive-help@tvm.apache.org


Re: [PR] [FIX][TIRx] Constant-fold copy slice extents [tvm]

Posted by "gemini-code-assist[bot] (via GitHub)" <gi...@apache.org>.
gemini-code-assist[bot] commented on PR #20067:
URL: https://github.com/apache/tvm/pull/20067#issuecomment-5113424820

   > [!CAUTION]
   > The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.
   


-- 
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: discuss-archive-unsubscribe@tvm.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org
For additional commands, e-mail: discuss-archive-help@tvm.apache.org


Re: [PR] [FIX][TIRx] Constant-fold copy slice extents [tvm]

Posted by "spectrometerHBH (via GitHub)" <gi...@apache.org>.
spectrometerHBH merged PR #20067:
URL: https://github.com/apache/tvm/pull/20067


-- 
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: discuss-archive-unsubscribe@tvm.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org
For additional commands, e-mail: discuss-archive-help@tvm.apache.org