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

Remove old SIMD API and promote new API to crate root #630

Merged
merged 3 commits into from
Mar 20, 2025

Conversation

robertknight
Copy link
Owner

@robertknight robertknight commented Mar 20, 2025

Remove the old unsafe-heavy SIMD API and promote the new one under rten_simd::safe to the crate root. In other words, rten_simd/src/{safe.rs => lib.rs, safe/*.rs => *.rs}.

Part of #549.

All consumers have now been migrated to the new SIMD API, so remove the old one.
Re-export the new SIMD API from the crate root so `use rten_simd::safe::foo`
imports can be rewritten as `use rten_simd::foo`.
After removing the old SIMD API, the new one can be moved to the crate root.
@robertknight robertknight merged commit 8c76610 into main Mar 20, 2025
2 checks passed
@robertknight robertknight deleted the remove-old-simd-api branch March 20, 2025 20:11
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