Skip to content

No asserts emitted for strides based on other dims extent. #9327

Description

@mcourteaux

When promising dense data:

      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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions