Fork me on GitHub

OMP_SET_NUM_THREADS

Purpose:

Sets the number of threads that will be used in the next parallel region. Must be a postive integer.

Format:

Fortran

SUBROUTINE OMP_SET_NUM_THREADS(scalar_integer_expression)

C/C++

#include <omp.h>
void omp_set_num_threads(int num_threads)

Notes & Restrictions: