omp_get_dynamic
– Dynamic teams setting
omp_get_max_threads
– Maximum number of threads
omp_get_nested
– Nested parallel regions
omp_get_num_procs
– Number of processors online
omp_get_num_threads
– Size of the active team
omp_get_thread_num
– Current thread ID
omp_in_parallel
– Whether a parallel region is active
omp_set_dynamic
– Enable/disable dynamic teams
omp_set_nested
– Enable/disable nested parallel regions
omp_set_num_threads
– Set upper team size limit
omp_init_lock
– Initialize simple lock
omp_set_lock
– Wait for and set simple lock
omp_test_lock
– Test and set simple lock if available
omp_unset_lock
– Unset simple lock
omp_destroy_lock
– Destroy simple lock
omp_init_nest_lock
– Initialize nested lock
omp_set_nest_lock
– Wait for and set simple lock
omp_test_nest_lock
– Test and set nested lock if available
omp_unset_nest_lock
– Unset nested lock
omp_destroy_nest_lock
– Destroy nested lock
omp_get_wtick
– Get timer precision
omp_get_wtime
– Elapsed wall clock time
Next: Enabling OpenMP, Up: (dir)
This manual documents the usage of libgomp, the GNU implementation of the OpenMP Application Programming Interface (API) for multi-platform shared-memory parallel programming in C/C++ and Fortran.