Skip to content

rfactor now causes out of bounds error. #8600

Closed
@vksnk

Description

@vksnk

After recent rfactor changes there are several generators which have started to fail with Input buffer _buffer_name_ is accessed at _number_, which is beyond the max (_another_number_) in dimension 1, they all seem to have schedules which follow the pattern:

.split(r.x, rx, tile_size_x)
.split(r.y, ry, tile_size_y)
.rfactor({{rx, x}, {ry, y}})

This now seems to fail with the above error if the input dimension extent is not divisible by the corresponding tile size. I tried to use various tail strategies, but it doens't seem to have any effect on it. I also tried to use specialize and only rfactor if the extents are divisible by tile size, but that also didn't work. I can try to provide a more isolated test to demonstrate it, but I wanted to check first if it's even supposed to work or is this error is legit?

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