HOME
| OPENMP API Specification: Version 5.1 November 2020

6.15  OMP_DEFAULT_DEVICE

The OMP_DEFAULT_DEVICE environment variable sets the device number to use in device constructs by setting the initial value of the default-device-var ICV.

The value of this environment variable must be a non-negative integer value.

Cross References