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

Fix error in db_check_platform function #211

Closed

Conversation

jakovenko-dm
Copy link
Contributor

There seems to be an error in db_check_platform function. When database is compiled on machine with AVX2, but without AVX512, database platform features bitmask equals to HS_PLATFORM_NOAVX512. As this is equal to hs_current_platform_no_avx512 constant, such a database passes db_check_platform check on any machine, including ones without AVX2 support.

Pull request fixes this error.

@xiangwang1
Copy link
Contributor

Thanks, we'll merge your patch to our main branch.

@Nor7th
Copy link

Nor7th commented Jan 20, 2020

Merged into develop branch. Closed

@Nor7th Nor7th closed this Jan 20, 2020
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.

None yet

3 participants