8000 Hwy dynamic dispatch by Micky774 · Pull Request #12 · Micky774/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

Hwy dynamic dispatch #12

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

Open
wants to merge 19 commits into
base: main
Choose a base branch
from
Open

Hwy dynamic dispatch #12

wants to merge 19 commits into from

Conversation

Micky774
Copy link
Owner

Reference Issues/PRs

What does this implement/fix? Explain your changes.

Currently broken. I can verify that the individual SIMD-accelerated functions work, however the dynamic dispatch mechanism doesn't seem to be working. Not sure where to go.

Specifically, simd_manhattan_dist should be usable but at runtime there is an import error reporting a missing symbol for it. I can verify that indeed there is no appropriate symbol for it in libavx_dist_metrics.a or simd.o.

Also, I'm not sure if there's a nicer way to handle dynamic dispatch on a type-templated function than what I currently have (HWY_EXPORT makes this a bit difficult since the template specification gets absorbed into a variable name upon expansion)

@github-actions
Copy link
github-actions bot commented Aug 30, 2023

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: 75bda03. Link to the linter CI: here

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.

1 participant
0