Skip to content

Conversation

@abadams
Copy link
Member

@abadams abadams commented Oct 18, 2024

Fixes #7827

There was one instance in fit_function.cpp, and the autoscheduler was
doing it in the generated schedules. This may cause errors in existing
generated schedules that have been checked in.
@abadams
Copy link
Member Author

abadams commented Oct 18, 2024

This uncovered an error where our generated schedules from adams2019 were incorrectly declaring some RVars as Vars. The scheduling directives used are the ones that are legal for RVars, so there should not be any incorrect output, but adding this check may cause existing checked-in generated schedules to throw a compile-time error. This can be manually fixed up by changing the declaration to be an RVar.

@abadams abadams merged commit 2f734ef into main Oct 19, 2024
@alexreinking alexreinking deleted the abadams/fix_7827 branch October 21, 2024 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing check in split call that could lead to invalid schedules

3 participants