Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: