4 ms·
That's not how SVE works. Any given SVE CPU still has a fixed vector width at runtime, but the CPU exposes instructions which tell you the vector width and othe
by BeeOnRope 5y ago
That's not how SVE works. Any given SVE CPU still has a fixed vector width at runtime, but the CPU exposes instructions which tell you the vector width and other convenience instructions for performing loop counter math and handling the "final" iteration which may not use a full vector.
Then you need to write your loops in such a way that they work with a variable width: i.e., doing more iterations if the vector width is smaller.