-
-
Notifications
You must be signed in to change notification settings - Fork 160
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
SIMD (universal intrinsics) support? #265
Comments
Hi, are you referring to the particular (missing) APIs that are present in the C++ OpenCV? If so, can you please name them? Because otherwise I believe SIMD support depends on how the OpenCV itself is built. |
I see, I’ll see if those can be exported |
Well after 3 days poking around the source code of this lib, I feel it may not be very possible. If I understand correctly, this binding will add try-catch on every call from rust to C++. However, intrinsics are very low-level and will be called with very high frequency indeed. So exporting it will make it not useful anymore... |
You can mark functions as infallible, then the try/catch will be skipped. But I understand the performance implications, I’ll keep that in mind. |
This is actionable, so let's leave this open |
Ok |
Hi thanks for this lib! I wonder how we can have support for SIMD, i.e. universal intrinsics? Because this can boost the speed by, say, 4x!
The text was updated successfully, but these errors were encountered: