THURSDAY, NOVEMBER 12, 2026
libgomp
libgomp: Add omp::allocator::user_mem template
Introduces a new user_mem allocator for OpenMP memory management.
A new template, omp::allocator::user_mem, has been added to omp.h. This addition enhances libgomp’s memory allocation capabilities by providing a specific mechanism for user-managed memory. Documentation has been updated with an example, and a new test case is included to verify its functionality.
In Details
This change introduces omp::allocator::user_mem into libgomp/omp.h.in. This is a new C++ allocator designed to allow users to manage memory explicitly within OpenMP constructs, likely for custom memory pools or specific allocation strategies.
For Context
- omp::allocator::user_mem
- A C++ template within libgomp for managing user-provided memory allocations in OpenMP regions.
- libgomp
- The GNU implementation of the OpenMP runtime library, responsible for managing parallel execution.