Designing a SIMD algorithm from scratch #Programming

Designing a SIMD algorithm from scratch #Programming

Source Node: 2984464

Miguel Young de la Sota dives into optimizing code with SIMD (single instruction multiple data, also sometimes called vectorization). Designing a good, fast, portable SIMD algorithm is not a simple matter and requires thinking a little bit like a circuit designer.

“SIMD” often gets thrown around as a buzzword by performance and HPC (high performance computing) nerds, but it’s a topic that doesn’t have very friendly introductions out there, for a lot of reasons.

It’s not something you will really want to care about unless you think performance is cool.
APIs for programming with SIMD in most programming languages are garbage. SIMD algorithms are hard to think about if you’re very procedural-programming-brained. A functional programming mindset can help a lot.

Check out the discussion in the post here.

Time Stamp:

More from Ada Fruit