[API Proposal]: SIMD/Vectorial operations on arrays/Spans #60559
Labels
api-suggestion
Early API idea and discussion, it is NOT ready for implementation
area-System.Numerics
Milestone
Background and motivation
In image processing and probably many other fields, it is fairly common to perform basic operations on large arrays, for example:
These operations can be made a lot faster if the operands are casted to Vector4, which make the whole operation much faster. But probably there's even more performance improvements that can be done at low level.
API Proposal
Something like this:
This is just a small example of the functions the API would have, obviously there would be much more: multiply, division, absolute values, casting, byte shifting, and all kinds of bulk operations that can be greatly enhanced with simd/vectorial instrinsics.
API Usage
Alternative Designs
No response
Risks
No response
The text was updated successfully, but these errors were encountered: