Admin Production ni-theme
Current Publication

num_threads

LabWindows/CVI

num_threads Clause

Specifies the number of threads used in a parallel region.

Note Note  The omp_set_num_threads function performs the same function as this clause.

Format

num_threads(num)

Examples

Refer to the following examples that use the OpenMP num_threads clause:

  • OpenMP\2dfft_omp.cws

    Open example
  • OpenMP\matrixmult.cws

    Open example