SIMD (universal intrinsics) support?
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!
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.
@twistedfall Hi I mean this: https://docs.opencv.org/4.5.3/df/d91/group__core__hal__intrin.html
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