X06 Chapter Contents (PDF version)
X06 Chapter Introduction
NAG Library Manual

NAG Library Chapter Contents

X06 – OpenMP Utilities


X06 Chapter Introduction – a description of the Chapter and an overview of the algorithms available

Routine
Name
Mark of
Introduction

Purpose
X06AAF
Example Text
25 nagf_omp_set_num_threads
Sets the number of threads for OpenMP parallel regions
X06ABF 25 nagf_omp_get_num_threads
The number of OpenMP threads in the current team
X06ACF 25 nagf_omp_get_max_threads
An upper bound on the number of threads in the next parallel region
X06ADF
Example Text
25 nagf_omp_get_thread_num
The OpenMP thread number of the calling thread
X06AFF 25 nagf_omp_in_parallel
Tests for an active OpenMP parallel region
X06AGF
Example Text
25 nagf_omp_set_nested
Enables or disables nested OpenMP parallelism
X06AHF 25 nagf_omp_get_nested
Tests the status of nested OpenMP parallelism
X06XAF 26 nagf_using_threaded_impl
Tests whether a threaded NAG Library is being used

X06 Chapter Contents (PDF version)
X06 Chapter Introduction
NAG Library Manual

© The Numerical Algorithms Group Ltd, Oxford, UK. 2016