-
Notifications
You must be signed in to change notification settings - Fork 189
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
Add FLATCC_ENFORCE_ALIGNED_EMPTY_VECTORS #289
Conversation
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.
That was fast. I don't entirely agree with updating the reader as per my comments inline, but I'm impressed you were able to dig that deep into the code so fast.
I think we should focus on getting the verifier online. We could also do a code review to understand the implications of unligned vectors for the actual code.
Maybe we should rename the flat FLATCC_VERIFIER_TOLERATE_... to indicate that this is then verfier specific.
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.
I think this looks good, a part from a few minor comments:
Yeah, I think that is good, aside from the PR title. When you are ready I'll squash and merge. |
After dvidelabs/flatcc#289 flatcc will not enforce alignment on empty vectors. This will let us unskip the null_trivial case in the integration tests
An option is added which, if enabled, causes verifier to only require empty vectors be aligned to 4 bytes.
discussion at #287