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

Add fallback SIMD implementation #1342

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

taylordotfish
Copy link

Currently, on platforms that don't have an implementation of SIMDNativeOps, SIMDRegister is not available.

This PR makes functionality gracefully degrade by adding a fallback implementation of SIMDNativeOps that simply calls the fallback functions that already exist in SIMDFallbackOps.

On platforms that already support SIMD, nothing changes, but other platforms will now have implementations of SIMDRegister that use the fallback functions, so software that uses SIMDRegister will automatically support more platforms without any additional effort.

All unit tests pass on x86_64, aarch64, and ppc64le.

This will be used on platforms that don't have native SIMD support.
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