https://gcc.gnu.org/g:e7a79c14ab50ac1bb3ae043f477e2d6ab7ceac4f

commit e7a79c14ab50ac1bb3ae043f477e2d6ab7ceac4f
Author: Tobias Burnus <tbur...@baylibre.com>
Date:   Mon Mar 24 19:52:10 2025 +0100

    libgomp: Save OpenMP device number when initializing the interop object
    
    The interop object (opaque object to the user, used internally in libgomp)
    already had a 'device_num' member, but it was missed to actually set it.
    
    libgomp/ChangeLog:
    
            * target.c (gomp_interop_internal): Set the 'device_num' member
            when initializing an interop object.
    
    (cherry picked from commit 4d5d1a7326c8509a4a6fc94eedc3ba22d68f806f)

Diff:
---
 libgomp/ChangeLog.omp | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/libgomp/ChangeLog.omp b/libgomp/ChangeLog.omp
index 9cb3e08e8279..34f8f9f162f5 100644
--- a/libgomp/ChangeLog.omp
+++ b/libgomp/ChangeLog.omp
@@ -16,6 +16,14 @@
        * testsuite/libgomp.c++/pr101544-1-O0.C: Likewise.
        * testsuite/libgomp.oacc-c++/pr101544-1.C: Likewise.
 
+2025-03-24  Tobias Burnus  <tbur...@baylibre.com>
+
+       Backported from master:
+       2025-03-24  Tobias Burnus  <tbur...@baylibre.com>
+
+       * target.c (gomp_interop_internal): Set the 'device_num' member
+       when initializing an interop object.
+
 2025-03-24  Tobias Burnus  <tbur...@baylibre.com>
 
        Backported from master:

Reply via email to