HOME
| OPENMP API Specification: Version 5.0 November 2018

3.7.4  omp_set_default_allocator

SummaryThe omp_set_default_allocator routine sets the default memory allocator to be used by allocation calls, allocate directives and allocate clauses that do not specify an allocator.

Format

SVG-Viewer needed.

 

 
void omp_set_default_allocator (omp_allocator_handle_t allocator);  

SVG-Viewer needed.

SVG-Viewer needed.

 

 
subroutine omp_set_default_allocator ( allocator ) 
integer(kind=omp_allocator_handle_kind),intent(in) :: allocator  

SVG-Viewer needed.

Constraints on ArgumentsThe allocator argument must be a valid memory allocator handle.

BindingThe binding task set for an omp_set_default_allocator region is the binding implicit task.

EffectThe effect of this routine is to set the value of the def-allocator-var ICV of the binding implicit task to the value specified in the allocator argument.

Cross References