Memory Management Routines (GNU libgomp)

Next: Tool Control Routine, Previous: Interoperability Routines, Up: OpenMP Runtime Library Routines [Contents][Index]

### 3.13 Memory Management Routines ¶

Routines to manage and allocate memory on the current device. They have C linkage and do not throw exceptions.

- `omp_init_allocator` – Create an allocator
- `omp_destroy_allocator` – Destroy an allocator
- `omp_set_default_allocator` – Set the default allocator
- `omp_get_default_allocator` – Get the default allocator
- `omp_alloc` – Memory allocation with an allocator
- `omp_aligned_alloc` – Memory allocation with an allocator and alignment
- `omp_free` – Freeing memory allocated with OpenMP routines
- `omp_calloc` – Allocate nullified memory with an allocator
- `omp_aligned_calloc` – Allocate aligned nullified memory with an allocator
- `omp_realloc` – Reallocate memory allocated with OpenMP routines