3.11.4 omp_get_default_allocator – Get the default allocator

Description:

The routine returns the default allocator that is used when no allocator has been specified in the allocate or allocator clause or if an OpenMP memory routine is invoked with the omp_null_allocator allocator.

C/C++:
Prototype:omp_allocator_handle_t omp_get_default_allocator();
Fortran:
Interface:function omp_get_default_allocator()
integer (omp_allocator_handle_kind) :: omp_get_default_allocator
See also:

omp_set_default_allocator – Set the default allocator, OMP_ALLOCATOR – Set the default allocator

Reference:

OpenMP specification v5.0, Section 3.7.5