Function configure_openmp

Function Documentation

inline void configure_openmp(int num_threads)

Configure OpenMP runtime with validated thread count.

Disables nested parallelism and sets the thread count. Should be called once at program startup after validation.

Parameters:

num_threads – Number of threads to use (must be >= 1)