3.13.11 omp_get_gprivate_limit – Absolute limit of groupprivate memory

Description:

The omp_get_gprivate_limit routine returns the maximally possible limit on groupprivate memory, which consists of memory allocatable via the dyn_groupprivate clause and of variables that appear in the groupprivate directive. device_num must be a conforming device number and access_group takes omp_access_cgroup as argument. The effect of running this routine in a target region is unspecified.

C:
Prototype:size_t omp_get_gprivate_limit(int *dev_num,
omp_access_t access_group)
C++:
Prototype:size_t omp_get_gprivate_limit(int *dev_num,
omp_access_t access_group = omp_access_cgroup)
Fortran:
Interface:integer (kind=c_size_t) function omp_get_gprivate_limit( &
device_num, access_group)
use, intrinsic :: iso_c_binding, only : c_size_t, c_int
integer (kind=c_int), value :: device_num
integer (kind=omp_access_kind), value, optional :: access_group
Reference:

OpenMP specification v6.1, Section 34.13.5