llvm-project
eaf1bf62 - [mlir][OpenMP] Translate iterator modifiers on standalone data mapping constructs

Commit
7 days ago
[mlir][OpenMP] Translate iterator modifiers on standalone data mapping constructs Iterator modifiers on the map clauses of target enter data and target exit data, and on the motion clauses of target update, were rejected as not yet implemented even though Flang already lowers them. Translate each iterator into a dynamic map segment whose count is the iterator's trip count. Each entry is produced by translating the iterator body and the map it yields in the same way as a non-iterated map, and the entries fill runtime-sized offloading arrays after the static entries. Iterators whose maps have members, descriptor base addresses, user-defined mappers, non-ByRef capture, attach semantics or declare target variables, constructs with nowait, and iterators on target and target data remain not yet implemented. Assisted with Claude Opus 5.5.
Author
Parents
Loading