Uh oh!
There was an error while loading. Please reload this page.
Make serial parallel_for "polyfill" iterate backwards in debug builds - #9044
Conversation
JacobSzwejbka
left a comment
There was a problem hiding this comment.
The debug loop looks fine to me, though do we have much other NDEBUG ifdefs in the codebase? Is that a mode people often use with ET?
swolchok
commented
Mar 11, 2025
Release builds define NDEBUG. it's the same macro that gates |
This PR needs a |
This reverts commit 05a160e. Revert "Revert "Make serial parallel_for "polyfill" iterate backwards in debug builds (#9044)"" This reverts commit 815eaff. Revert "Revert "Unbreak optimized kernels buck build (and check it in unittest-buck) (#9159)"" This reverts commit 10bb615. ghstack-source-id: 2c4a363 ghstack-comment-id: 2718584686 Pull Request resolved: #9190
This reverts commit 05a160e. Revert "Revert "Make serial parallel_for "polyfill" iterate backwards in debug builds (#9044)"" This reverts commit 815eaff. Revert "Revert "Unbreak optimized kernels buck build (and check it in unittest-buck) (#9159)"" This reverts commit 10bb615. ghstack-source-id: 2c4a363 ghstack-comment-id: 2718584686 Pull Request resolved: #9190
This reverts commit 05a160e. Revert "Revert "Make serial parallel_for "polyfill" iterate backwards in debug builds (#9044)"" This reverts commit 815eaff. Revert "Revert "Unbreak optimized kernels buck build (and check it in unittest-buck) (#9159)"" This reverts commit 10bb615. ghstack-source-id: 2c4a363 ghstack-comment-id: 2718584686 Pull Request resolved: #9190
Catches users who assume it goes forwards in order (like my attempt to use parallel_for in reductions, whoops). ghstack-source-id: 9b72632 ghstack-comment-id: 2707052203 Pull Request resolved: pytorch/executorch#9044
Catches users who assume it goes forwards in order (like my attempt to use parallel_for in reductions, whoops).