Higher level functions in the Vector API

Paul Sandoz paul.sandoz at oracle.com
Mon Oct 30 18:07:46 UTC 2023


Hi Sam,

At the moment we are currently prioritizing work on Vector API, getting the implementation in shape and aligned with Valhalla. It's fantastic that developers are experimenting, providing feedback, and implementing functionality using the Vector API that was not possible before. Perhaps there will be some consolidation in the community with a useful library published on maven?

It’s easy to underestimate the work required to devise/include such APIs in the platform that are in effect BLAS-like level 1 and level 2 functionality (with higher levels waiting and asking to join the party). My sense is before we consider adding such support in the platform (if at all) we need to think more broadly about numerics, arrays, matrices, and tensors.

I don’t have anything concrete right now about such broader thinking, but here is an example of me playing around to get experience in this area:

https://github.com/PaulSandoz/blis-matrix

Paul.
 


> On Oct 26, 2023, at 2:37 PM, Sam Pullara <spullara at gmail.com> wrote:
> 
> Why were these kinds of operations not included as part of the Vector API? Seems like everyone is going to build them and they will be nearly identical:
> 
> jvector/jvector-twenty/src/main/java/io/github/jbellis/jvector/vector/SimdOps.java at main · jbellis/jvector  
> 
> 
> http
> r/blob/main/jvector-twenty/src/main/java/io/github/jbellis/jvector/vector/SimdOps.java



More information about the panama-dev mailing list