Skip to content
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

Restrict index functions to a single LMAD #1982

Merged
merged 9 commits into from
Jul 9, 2023
Merged

Restrict index functions to a single LMAD #1982

merged 9 commits into from
Jul 9, 2023

Conversation

athas
Copy link
Member

@athas athas commented Jul 8, 2023

No description provided.

@athas athas marked this pull request as ready for review July 8, 2023 20:37
@athas athas added the run-benchmarks Makes GA run the benchmark suite. label Jul 9, 2023
@athas athas requested a review from Munksgaard July 9, 2023 13:18
@athas athas merged commit fa61758 into master Jul 9, 2023
28 of 29 checks passed
@athas athas deleted the one-lmad branch July 9, 2023 23:43
razetime pushed a commit to razetime/futhark that referenced this pull request Jul 16, 2023
This simplifies the memory IR.  Whenever we encounter an index space transformation that we cannot represent as a single LMAD, we linearise to row-major order and try again.  This is not fundamentally different from the old behaviour, where multi-LMAD index functions also forced linearisation at most forms of control flow.

I do expect we'll be chasing consequences of this change for some time, but it seems to have no impact on benchmarks.

Closes diku-dk#1705.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
run-benchmarks Makes GA run the benchmark suite.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant