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

AVX512: fix disabling other optimizations #489

Merged
merged 1 commit into from
May 11, 2023
Merged

Conversation

Yuval-Ariel
Copy link
Contributor

the previous commit disabled all the rest of the XXH optimizations since it didnt prevent the XXH_VECTOR from being defined as XXH_AVX512.

this PR fixes that.

@Yuval-Ariel Yuval-Ariel added the bug fix Fixes a known bug label May 4, 2023
@Yuval-Ariel Yuval-Ariel requested a review from udi-speedb May 4, 2023 06:58
@Yuval-Ariel Yuval-Ariel self-assigned this May 4, 2023
@Yuval-Ariel
Copy link
Contributor Author

lets wait with the review for after the rebase

udi-speedb
udi-speedb previously approved these changes May 8, 2023
@mrambacher
Copy link
Contributor

Can you explain why this code is different than the vanilla RocksDB?

@Yuval-Ariel
Copy link
Contributor Author

since we dont want to run AVX512 together with ASAN. it crashes - #398

the previous commit disabled all the rest of the XXH optimizations
since it didnt prevent the XXH_VECTOR from being defined as XXH_AVX512.
@Yuval-Ariel
Copy link
Contributor Author

@udi-speedb plz reapprove, i've rebased on current main.

@udi-speedb udi-speedb self-requested a review May 11, 2023 08:11
@Yuval-Ariel Yuval-Ariel merged commit be87eba into main May 11, 2023
@Yuval-Ariel Yuval-Ariel deleted the AVX512-disable-only-it branch May 11, 2023 08:20
udi-speedb pushed a commit that referenced this pull request Nov 19, 2023
fix - AXV512: don't use XXH3_accumulate_512 with ASAN (#398)
the previous commit disabled all the rest of the XXH optimizations
since it didnt prevent the XXH_VECTOR from being defined as XXH_AVX512.
udi-speedb pushed a commit that referenced this pull request Dec 5, 2023
fix - AXV512: don't use XXH3_accumulate_512 with ASAN (#398)
the previous commit disabled all the rest of the XXH optimizations
since it didnt prevent the XXH_VECTOR from being defined as XXH_AVX512.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug fix Fixes a known bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants