Function configure_openmp¶
Defined in File omp_config.h
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)