-
Notifications
You must be signed in to change notification settings - Fork 8
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
Views w/ shrink and flex #57
Comments
|
Alternative proposal: If
compiles to:
I propose that we have the explicit syntax:
where the programmer explicitly specifies
Especially since we don't do any static bounds checking. |
Tracking in #124. |
The current formulation of views requires that the underlying array have the same number of banks as the width of the dimension of the view.
Examples:
(1) Should fail:
(2) Should pass
(3) Should pass
Q1. Should the programmer be allowed to freely mix
flex
andshrink
in multidimensional cases? Which examples should pass:(4)
(5)
(6)
Q2. What the stepping semantics of
shrink
andview
? Did we decide that the step of ashrink
array is always equal to the length and that the steps forflex
can be arbitrary?Q3. Syntax suggestions for
shrink
,flex
, andviews
?The text was updated successfully, but these errors were encountered: