Landing: 82104cde7ac0

Project / Subsystem

gcc / libgomp

Date

2026-09-01

Author

Tobias Burnus

Commit

82104cde7ac0ba2a80194048ca309e26c655ca6d

Source

github

Perf win

Yes

Breaking

No

All attributes

project
gcc
subsystem
libgomp
patch_id
—
commit_hash
82104cde7ac0ba2a80194048ca309e26c655ca6d
source_type
github
headline
Libgomp: Improve GOMP_RUNTIME_USM handling for shared memory.
tldr
Optimizes OpenMP runtime for devices with shared memory by reducing unnecessary data structure updates.
author
Tobias Burnus
outcome
committed
performance_win
true
breaking_change
false
series_id
—
series_parts
[]
tags
  • • libgomp
  • • OpenMP
  • • offloading
  • • performance
  • • shared memory
discussion_id_link
—
bugzilla_pr
—
date
2026-09-01T00:00:00.000Z

This commit enhances OpenMP runtime handling for devices with shared memory capabilities. For such devices, it avoids adding ‘link’ variables to the splay tree when they are initialized to point to host variables, as these will not be modified. It also refines error handling for specific USM scenarios and map types.