omp_get_default_allocator
– Get the default allocator ¶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.
Prototype: | omp_allocator_handle_t omp_get_default_allocator(); |
Interface: | function omp_get_default_allocator() |
integer (omp_allocator_handle_kind) :: omp_get_default_allocator |
omp_set_default_allocator
– Set the default allocator, OMP_ALLOCATOR
– Set the default allocator
OpenMP specification v5.0, Section 3.7.5