HOME
| OPENMP API Specification: Version 5.1 November 2020

3.13.3  omp_destroy_allocator

Summary The omp_destroy_allocator routine releases all resources used by the allocator handle.

Format

SVG-Viewer needed.

 

 
void omp_destroy_allocator (omp_allocator_handle_t allocator);  

SVG-Viewer needed.

SVG-Viewer needed.

 

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

SVG-Viewer needed.

Constraints on Arguments The allocator argument must not represent a predefined memory allocator.

Binding The binding thread set for an omp_destroy_allocator region is all threads on a device. The effect of executing this routine is not related to any specific region that corresponds to any construct or API routine.

Effect The omp_destroy_allocator routine releases all resources used to implement the allocator handle.

If allocator is omp_null_allocator then this routine will have no effect.

Restrictions The restrictions to the omp_destroy_allocator routine are as follows:

Cross References