Unfortunately, due to the complexity and specialized nature of AVX-512, such optimizations are typically reserved for performance-critical applications and require expertise in low-level programming and processor microarchitecture.

  • racemaniac@lemmy.dbzer0.com
    ·
    edit-2
    2 months ago

    Whomever wrote this article is just misleading everyone.

    First of all, they did this for other kinds of similar instruction sets before, so this is nothing special. Second of all, they measure the speedup compared to a basic implementation that doesn't use any optimizations.

    They did the same in the past for AVX-2, which is 67x faster in the test where avx-512 got the 94x speed increase. So it's not 94x faster now, it's 1.4x faster than the previous iteration using the older AVX-2 instruction set. It's barely twice as fast as the implementation using SSE3 (40x faster than the slow version), an instruction set from 20 years ago....

    So yeah, it's awesome that they did the same awesome work for AVX-512, but the 94x boost is just plain bullshit.... it's really sad that great work then gets worded in such a misleading way to form clickbait, rather than getting a proper informative article.....

  • collapse_already@lemmy.ml
    ·
    2 months ago

    As someone who has done some hand coding of AVX-512, I appreciate their willingness to take this on. Getting the input vectors setup correctly for the instructions can be a hassle, especially when the input dataset is not an even multiple of 64.

  • Mettled@reddthat.com
    ·
    2 months ago

    When this comes to the BSD's, it will be interesting to see if there is a significant difference in multimedia. I bought Intel 11th gen over 10th for it's AVX-512.

  • ganymede@lemmy.ml
    ·
    edit-2
    2 months ago

    nice.

    can usually get a pretty good performance increase with hand writing asm where appropriate.

    don't know if its a coincidence, but i've never seen someone who's good at writing assembly say that its never useful.

    • four@lemmy.zip
      ·
      2 months ago

      To be fair, people who don't find assembly useful probably wouldn't get good at writing assembly

      • ganymede@lemmy.ml
        ·
        edit-2
        2 months ago

        for sure, its perfectly reasonable to say "this tool isn't useful for me"

        its another thing to say "this tool isn't useful for anyone"