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

chore: expose avx512fp16 feature via main lance crate #1626

Merged
merged 2 commits into from
Nov 17, 2023
Merged

Conversation

eddyxu
Copy link
Contributor

@eddyxu eddyxu commented Nov 17, 2023

lance-linalg has a feature flag avx512fp16, once enabled, it compiles the f16.c for auto-vectorized routines for f16 on CPUs with avx512fp16 instruction set.

This PR propagate the optional feature flag (avx512fp16) to the lance crate, so that we can build avx512fp16 from the main crate as well.

Did not use RUSTCFLAGS="-C target-feature=+avx512fp16" because rustc (1.74at the time of wriitng), does not pass this feature tobuild.rs` .

@eddyxu eddyxu merged commit fbacb09 into main Nov 17, 2023
17 checks passed
@eddyxu eddyxu deleted the lei/avx512fp branch November 17, 2023 23:27
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.

3 participants