Landing: abe9e1f16985

Project / Subsystem

gcc / openmp

Date

2026-07-15

Author

Tobias Burnus

Commit

abe9e1f169852097377e0afca62d88df816d9cac

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
openmp
patch_id
commit_hash
abe9e1f169852097377e0afca62d88df816d9cac
source_type
github
headline
OpenMP: Allow 'allocate' on target with user-defined allocator
tldr
Enables using user-defined allocators with the 'omp allocate' directive on targets.
author
Tobias Burnus
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • openmp
  • compiler
  • target device
  • allocator
discussion_id_link
bugzilla_pr
date
2026-07-15T00:00:00.000Z

This change enhances OpenMP’s support for memory management on targets by allowing the omp target directive to use a user-defined allocator. When the uses_allocators directive is used to define an allocator variable, the allocate clause on a target construct can now reference this variable, enabling more flexible device memory management.