#9327·Halide

No asserts emitted for strides based on other dims extent.

Author: mcourteauxCreated Aug 13, 2026Updated Aug 13, 2026

When promising dense data:

cpp
      int bsx = 16; // block size x
      output.dim(0).extent() = output.dim(0).extent() / bsx * bsx;
      output.dim(1).stride() = output.dim(0).extent();
      output.dim(2).stride() = output.dim(0).stride() * output.dim(1).extent();

Not a single assert is emitted that checks this.

I validated that this both happens on main and on @alexreinking/fix-extent-alignment