GCC Newspaper
NOVEMBER 30, 2026
Date
/
Architectures
Components
Topics
News & Policy
Other
libgomp

libgomp adds OpenMP 6.1 memory space and fixes OMP_ALLOCATOR.

libgomp implements the OpenMP 6.1 cgroup memory space and corrects OMP_ALLOCATOR environment variable parsing.

This commit introduces OpenMP 6.1’s omp_cgroup_mem_space, initially aliasing it to omp_low_lat_mem_space. It also updates memory space assignments for other allocators and rectifies issues in the OMP_ALLOCATOR environment variable parsing, ensuring support for ompx_gnu_managed_mem_space and handling of pinned and managed memory allocations.

In Details

libgomp now supports the OpenMP 6.1 omp_cgroup_mem_space by mapping it to omp_low_lat_mem_space and updating internal mappings for omp_pteam_mem_alloc and omp_thread_mem_alloc. The Omp_allocator environment variable parsing in env.c has been fixed to correctly handle ompx_gnu_managed_mem_space and to display ompx_gnu_pinned_mem_alloc and ompx_gnu_managed_mem_alloc. This ensures compliance with the OpenMP 6.1 specification and improves environment variable handling.

Filed Under: openmpmemory management