-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change strides move assignment outside if #1402
Change strides move assignment outside if #1402
Conversation
…of nsdfg have the same name
…into thesis_playground
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
However, first ensure that no tests are failing! |
@@ -47,7 +47,7 @@ def apply(self, graph: dace.SDFGState, sdfg: dace.SDFG): | |||
new_maps = [ | |||
nodes.Map(current_map.label + '_' + str(param), [param], | |||
subsets.Range([param_range]), | |||
schedule=dtypes.ScheduleType.Sequential) | |||
schedule=current_map.schedule) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will not work for GPU maps.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you elaborate why do you think this would not work in GPU maps? The reason why I put this in is that I had maps expanded which were not sequential and suddenly one of the maps was sequential, which goes against my understanding of what MapExpansion should do. Though when I disable this change some (maybe all, didn't check all) of the failing tests pass again.
Regarding the failing tests and the change in map expansion. One of the failing tests seems to assume that map expansion sets the expanded map to sequential schedule, as it sets some back to default, if I instead set the innermost map to sequential the test now passes. So I see two possibilities here, either my understanding of map expansion is incorrect or some tests depend on the incorrect behaviour and fixing this would potentially be a new issue. |
Adds functions/transformations from my thesis to:
Adds fixes for: