https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114690

            Bug ID: 114690
           Summary: OpenMP 'indirect' clause: dynamic image
                    loading/unloading
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Keywords: openmp
          Severity: normal
          Priority: P3
         Component: libgomp
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tschwinge at gcc dot gnu.org
                CC: burnus at gcc dot gnu.org, jakub at gcc dot gnu.org,
                    kcy at codesourcery dot com
  Target Milestone: ---

The OpenMP 'indirect' clause mapping table is not populated at image load time
(host-side), but upon the first device kernel invocation (device-side:
'build_indirect_map'), and is then immutable.

This is sufficient for a lot of cases, but breaks if additional images are
loaded after the first device kernel invocation (new mappings not added), or if
images get unloaded (stale mappings not retired).

Reference:
<https://inbox.sourceware.org/875y25udf9....@euler.schwinge.homeip.net>
"[PATCH] openmp: Add support for the 'indirect' clause in C/C++", "Also, for my
understanding: [...]" ff.
  • [Bug libgomp/114690] New: OpenMP... tschwinge at gcc dot gnu.org via Gcc-bugs

Reply via email to