HOME
| OPENMP API Specification: Version 5.1 November 2020

1.2.1  Threading Concepts

thread
An execution entity with a stack and associated threadprivate memory.

OpenMP thread
A thread that is managed by the OpenMP implementation.

thread number
A number that the OpenMP implementation assigns to an OpenMP thread. For threads within the same team, zero identifies the primary thread and consecutive numbers identify the other threads of this team.

idle thread
An OpenMP thread that is not currently part of any parallel region.

thread-safe routine
A routine that performs the intended function even when executed concurrently (by more than one thread).

processor
Implementation-defined hardware unit on which one or more OpenMP threads can execute.

device
An implementation-defined logical execution engine.

COMMENT: A device could have one or more processors.

host device
The device on which the OpenMP program begins execution.

target device
A device with respect to which the current device performs an operation, as specified by a device construct or an OpenMP device memory routine.

parent device
For a given target region, the device on which the corresponding target construct was encountered.