this post was submitted on 05 Nov 2024
279 points (96.7% liked)

Open Source

31256 readers
273 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] ganymede@lemmy.ml 7 points 1 week ago* (last edited 1 week ago) (6 children)

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.

[–] FooBarrington@lemmy.world 3 points 1 week ago (3 children)

Though you'd get the same speedup if you used SIMD intrinsics. This is just comparing non-SIMD to SIMD.

[–] ganymede@lemmy.ml 2 points 1 week ago* (last edited 1 week ago) (1 children)

from the article it's not clear what the performance boost is relative to intrinsics (its extremely unlikely to be anything close to 94x lol), its not even clear from the article if the avx2 implementation they benchmarked against was instrinsics or handwritten either. in some cases avx2 seems to slightly outperform avx-512 in their implementation

there's also so many different ways to break a problem down that i'm not sure this is an ideal showcase, at least without more information.

to be fair to the presenters they may not be the ones making the specific flavour of hype that the article writers are.

load more comments (1 replies)
load more comments (3 replies)