Skip to content
systemcoding.dev

Tag

openmp

7 posts

Flat illustration of parallel threads meeting at a mutex, with the C, Rust and Erlang logos.
Concurrency

Use OpenMP Tasks for Recursive Parallelism

Parallelize recursive C code such as Fibonacci and tree walks with OpenMP tasks, taskwait and a cutoff, and see why a task per call runs slower than serial.

7 min read
Flat illustration of parallel threads meeting at a mutex, with the C, Go and Rust logos.
Concurrency

Parallelize a Loop with

Turn a serial C loop into a multithreaded one with one OpenMP pragma, then learn which loops are safe to split and which ones silently give wrong answers.

7 min read