mirror-llvm-project/openmp
Sunil Shrestha 22351c74e2
[Flang][OpenMP] Add support for interop construct (#203959)
This adds support for the OpenMP interop construct, which enables
interoperability with foreign runtime environments (e.g., CUDA, HIP).
The init, use, and destroy action clauses are lowered from the Fortran
parse tree to MLIR interop ops and translated to the appropriate runtime
calls. The omp_lib module is extended with interop query API interfaces,
property constants, and return code constants. A semantics fix relaxes
the depend/targetsync constraint for use/destroy directives where the
interop type was established at a separate init site. Unsupported depend
clauses and prefer_type selector-list forms emit explicit diagnostics
instead of being silently dropped.

Assisted-by: Claude Opus 4.6
2026-07-22 12:03:34 -04:00
..
cmake [Flang] Move builtin .mod generation into runtimes (Reapply #137828) (#171515) 2026-05-29 10:50:52 +02:00
device [OpenMP] Publish target-init team state with acq_rel barrier (#208701) 2026-07-13 09:57:52 +01:00
docs [flang][OpenMP] add Flang OpenMP Support page (NFC) (#205833) 2026-06-30 10:50:16 -05:00
libompd [OpenMP] Fix missing install-openmp component (#197603) 2026-05-15 07:37:18 -05:00
module [Flang][OpenMP] Add support for interop construct (#203959) 2026-07-22 12:03:34 -04:00
runtime [OpenMP] Simplify GNU strerror_r check for Android (#148990) 2026-07-19 01:28:10 -04:00
tools [openmp][omptest] Include cstdlib for malloc() (#202021) 2026-06-06 10:46:45 +01:00
.gitignore
CMakeLists.txt [openmp][cmake] Match GPU triples consistently in openmp/module (#211138) 2026-07-22 14:49:38 +00:00
CREDITS.txt
LICENSE.TXT
Maintainers.md Nominate Michael Klemm as lead maintainer of OpenMP (#175964) 2026-01-14 15:17:26 +00:00