]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix 'libgomp.c/pr122281.c' for non-USM offloading execution [PR122281]
authorThomas Schwinge <tschwinge@baylibre.com>
Mon, 3 Nov 2025 14:24:28 +0000 (15:24 +0100)
committerThomas Schwinge <tschwinge@baylibre.com>
Mon, 3 Nov 2025 14:29:11 +0000 (15:29 +0100)
commit7a25badc5ddd95df53a3ca5156d9dd071f3f78c1
treea61e4bc37a5dcab1c6166b01be80fd8ba7bc1e8d
parent85b6344379e7463c7cca0d731a09e122467dc1b6
Fix 'libgomp.c/pr122281.c' for non-USM offloading execution [PR122281]

... where it currently runs into:

    libgomp: cuCtxSynchronize error: an illegal memory access was encountered

... for nvptx, or similarly for GCN:

    Memory access fault by GPU node-1 (Agent handle: 0x34d77290) on address 0x7fff3c553000. Reason: Page not present or supervisor privilege.

Fix-up for commit r16-4961-ge2cbcd1b27c0da92bdcd96664064d3d0c1d44e6f
"Fix gimple_copy for OpenMP atomic load/store [PR122281, PR105001]".

PR libgomp/122281
libgomp/
* testsuite/libgomp.c/pr122281.c: Fix for non-USM offloading
execution.
libgomp/testsuite/libgomp.c/pr122281.c