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

Introduce safe SIMD API, port some simple vectorized operations to use it #604

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

robertknight
Copy link
Owner

This PR is the first step in addressing #549, which will significantly reduce the amount of unsafe code overall in rten.

It introduces a new API for the rten-simd portable SIMD library, which allows defining SIMD operations using safe code, and ports some of the simpler vectorized operations in rten-vecmath (Sum, SumSquare, SumSquareSub, MinMax) to use it.

TODO:

  • Review and revise documentation

Initial commit of a new API for rten-simd which allows defining vectorized
operations without unsafe code.
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