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

Initialize variables in FFI tests #748

Merged
merged 1 commit into from
Jun 6, 2021
Merged

Conversation

ilammy
Copy link
Contributor

@ilammy ilammy commented Jun 6, 2021

These ones are used to compute averages. If they are not initialized to zero, they might contain some garbage. In fact, they almost always do on platforms other that x86_64, failing the FFI tests. If optimizations are enabled, these tests usually fail on x86_64 too. The reason this went unnoticed is contrived set of coincidences.

These ones are used to compute averages. If they are not initialized to
zero, they might contain some garbage. In fact, they almost always do
on platforms other that x86_64, failing the FFI tests. If optimizations
are enabled, these tests usually fail on x86_64 too. The reason this
went unnoticed is contrived set of coincidences.
@ashinn ashinn merged commit d9f5eaa into ashinn:master Jun 6, 2021
@ilammy ilammy deleted the ffi-failures branch June 8, 2021 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants