forked from AccelerateHS/accelerate
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Fusion work on new-pipeline #1
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If all elements of the original vector were to expand to 0 elements, then the `scanl1` would fail on a bounds check because it gets passed an empty vector.
Fix expanding to an empty vector with the new expand function
This could lead to memory fragmentation, but means we can pass the values directly over the FFI
1.3.0.0
v1.3.0.0
This could result in memory corruption when certain elements would expand to 0 new elements.
…-overwrite Fix 'expand' for empty segments
… 'finished'! Back to the 'Construction' and constructing let-bindings!
…t this will be impossible to debug is also growing.
This reverts commit b743097.
…old use of 'Mut' is simply aliassing an In and Out argument
…wFusion.hs instead
# Conflicts: # src/Data/Array/Accelerate/AST/Operation.hs # src/Data/Array/Accelerate/AST/Schedule/Uniform.hs # src/Data/Array/Accelerate/Trafo/Schedule/Uniform.hs
… argument: needed for e.g. Generate
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hoi, ik ben er eindelijk aan toe gekomen: is dit ongeveer wat je in gedachten had?
Ik was eerst bang dat, met de Operation AST, er veel typesafety verdwijnt, maar op deze manier is het in ieder geval binnen de clusters nog allemaal aanwezig :)