-
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
Break statement #261
Comments
Can you explain what problem they solve? From what I've heard, using |
Any sorting algorithm needs break or dynamic loop. And you are right, control statements have to be kept as few as possible, but when one has to implement "weird control flow", break is a compromise to dynamic loop because in the latter case it cannot get unrolled at all. |
That KNN loop is a good example! To summarize the argument against Put differently, But of course, sometimes that serialization is precisely what you want, as in the KNN example. I wonder if some sort of |
I feel we will need "break" statement in dahlia at some point. HLS does not support dynamic loop unrolling, but if...break can get rid of this constraint. Dahlia may have similar constraints.
The text was updated successfully, but these errors were encountered: