NAME
OpenMP::Environment::Constants - canonical OpenMP and GNU libgomp environment names
SYNOPSIS
use OpenMP::Environment::Constants qw/omp_num_threads omp_target_offload/;
print omp_num_threads; # OMP_NUM_THREADS
print omp_target_offload; # OMP_TARGET_OFFLOAD
DESCRIPTION
This module defines one Perl constant for each canonical environment variable supported by OpenMP::Environment. The lower-case constant names mirror the public accessor names, while their values are the upper-case environment names.
The constants live in this separate package so that OpenMP::Environment can retain methods such as omp_num_threads without a subroutine-name collision. They are normally imported indirectly through the :unset, :assert, or :dsl tags provided by OpenMP::Environment.
FUNCTIONS
constant_names
Returns the lower-case Perl constant names in the stable environment-variable order used by OpenMP::Environment.
environment_names
Returns the corresponding canonical OMP_* and GOMP_* names.
is_environment_name
Returns true when its argument is one of the supported canonical names.
COPYRIGHT AND LICENSE
Same as Perl.