Closed boxerab closed 5 days ago
Array of vector isn't possible for all targets due to RVV/SVE compiler limitations. What we instead do is to pass a pointer to lanes (not vectors) into the entry point of dynamic dispatch. Then, the dispatched code can Load() from it to whatever the vector type is. Does that make sense?
Thanks, make sense. I will try to solve the problem with pointers to individual vectors instead.
I am using dynamic dispatch for my highway code. Is it possible to declare an array of SIMD vectors, so that the type of the array is resolved dynamically ?