News for hackers. Stuff that matters.
Re:Show HN: Krep a High-Performance String Search Utility Wr... by ashvardanian on Wednesday March 12, 2025 @03:32AM (#43340702)
Here is the code I use to detect available CPU features at runtime and dispatch the correct kernels - https://github.com/ashvardanian/StringZilla/blob/main/c/lib....

There are also several AVX-512 kernels for different CPU generations, so it’s obviously longer than just checking for AVX.

There are no comments on this comment yet.